Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1.0
-
None
-
None
Description
To reproduce, try unioning two identical Kafka Streams:
df = spark.readStream.format("kafka")... \ .select(from_json(col("value").cast("string"), simpleSchema).alias("parsed_value")) df.union(df).writeStream...
Exception is confusing:
org.apache.spark.sql.AnalysisException: resolved attribute(s) value#526 missing from value#511,topic#512,partition#513,offset#514L,timestampType#516,key#510,timestamp#515 in operator !Project [jsontostructs(...) AS parsed_value#357];
Attachments
Issue Links
- relates to
-
SPARK-20441 Within the same streaming query, one StreamingRelation should only be transformed to one StreamingExecutionRelation
- Resolved
- links to