diff --git a/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/Dataset.scala b/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/Dataset.scala index 87aadfe437be1..e398f3cc4b299 100644 --- a/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/Dataset.scala +++ b/connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/Dataset.scala @@ -2461,6 +2461,60 @@ class Dataset[T] private[sql] (val session: SparkSession, private[sql] val plan: new DataFrameWriterV2[T](table, this) } + def unpersist(blocking: Boolean): this.type = { + throw new UnsupportedOperationException("unpersist() is not implemented.") + } + + def unpersist(): this.type = unpersist(blocking = false) + + def cache(): this.type = { + throw new UnsupportedOperationException("cache() is not implemented.") + } + + def withWatermark(eventTime: String, delayThreshold: String): Dataset[T] = { + throw new UnsupportedOperationException("withWatermark is not implemented.") + } + + def observe(name: String, expr: Column, exprs: Column*): Dataset[T] = { + throw new UnsupportedOperationException("observe is not implemented.") + } + + def foreach(f: T => Unit): Unit = { + throw new UnsupportedOperationException("foreach is not implemented.") + } + + def foreachPartition(f: Iterator[T] => Unit): Unit = { + throw new UnsupportedOperationException("foreach is not implemented.") + } + + def checkpoint(): Dataset[T] = { + throw new UnsupportedOperationException("checkpoint is not implemented.") + } + + def checkpoint(eager: Boolean): Dataset[T] = { + throw new UnsupportedOperationException("checkpoint is not implemented.") + } + + def localCheckpoint(): Dataset[T] = { + throw new UnsupportedOperationException("localCheckpoint is not implemented.") + } + + def localCheckpoint(eager: Boolean): Dataset[T] = { + throw new UnsupportedOperationException("localCheckpoint is not implemented.") + } + + def sameSemantics(other: Dataset[T]): Boolean = { + throw new UnsupportedOperationException("sameSemantics is not implemented.") + } + + def semanticHash(): Int = { + throw new UnsupportedOperationException("semanticHash is not implemented.") + } + + def toJSON: Dataset[String] = { + throw new UnsupportedOperationException("toJSON is not implemented.") + } + private[sql] def analyze: proto.AnalyzePlanResponse = { session.analyze(plan, proto.Explain.ExplainMode.SIMPLE) }