Skip to content

Does delta-sharing support querying a table with delta.enableRowTracking = true #840

@Zouxxyy

Description

@Zouxxyy

When query a table with delta.enableRowTracking = true, we meet this error:

	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.IllegalStateException: Missing base_row_id value for file 'delta-sharing:/x'
	at org.apache.spark.sql.delta.DeltaParquetFileFormat.$anonfun$fileConstantMetadataExtractors$2(DeltaParquetFileFormat.scala:290)
	at scala.collection.immutable.Map$EmptyMap$.getOrElse(Map.scala:110)
	at org.apache.spark.sql.delta.DeltaParquetFileFormat.$anonfun$fileConstantMetadataExtractors$1(DeltaParquetFileFormat.scala:289)
	at org.apache.spark.sql.execution.datasources.FileFormat$.getFileConstantMetadataColumnValue(FileFormat.scala:299)
	at org.apache.spark.sql.execution.datasources.FileFormat$.$anonfun$updateMetadataInternalRow$1(FileFormat.scala:334)
	at org.apache.spark.sql.execution.datasources.FileFormat$.$anonfun$updateMetadataInternalRow$1$adapted(FileFormat.scala:333)
	at scala.collection.immutable.List.foreach(List.scala:431)
	at org.apache.spark.sql.execution.datasources.FileFormat$.updateMetadataIn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions