You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yaohua Zhao (Jira)" <ji...@apache.org> on 2023/11/07 02:46:00 UTC
[jira] [Updated] (SPARK-45815) Provide an interface for Streaming sources to add _metadata columns
[ https://issues.apache.org/jira/browse/SPARK-45815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yaohua Zhao updated SPARK-45815:
--------------------------------
Description:
Currently, only the native V1 file-based streaming source can read the `_metadata` column: [https://github.com/apache/spark/blob/370870b7a0303e4a2c4b3dea1b479b4fcbc93f8d/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamingRelation.scala#L63]
Our goal is to create an interface that allows other streaming sources to add `{{{}_metadata`{}}} columns. For instance, we would like the Delta Streaming source, which you can find here: [https://github.com/delta-io/delta/blob/master/spark/src/main/scala/org/apache/spark/sql/delta/sources/DeltaDataSource.scala#L49], to extend this interface and provide the `{{{}_metadata`{}}} column for its underlying storage format, such as Parquet.
was:
Currently, only the native V1 file-based streaming source can read the `_metadata`{{{}{}}} column: https://github.com/apache/spark/blob/370870b7a0303e4a2c4b3dea1b479b4fcbc93f8d/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamingRelation.scala#L63
Our goal is to create an interface that allows other streaming sources to add `{{{}_metadata`{}}} columns. For instance, we would like the Delta Streaming source, which you can find here: [https://github.com/delta-io/delta/blob/master/spark/src/main/scala/org/apache/spark/sql/delta/sources/DeltaDataSource.scala#L49], to extend this interface and provide the `{{{}_metadata`{}}} column for its underlying storage format, such as Parquet.
> Provide an interface for Streaming sources to add _metadata columns
> -------------------------------------------------------------------
>
> Key: SPARK-45815
> URL: https://issues.apache.org/jira/browse/SPARK-45815
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.5.1
> Reporter: Yaohua Zhao
> Priority: Major
>
> Currently, only the native V1 file-based streaming source can read the `_metadata` column: [https://github.com/apache/spark/blob/370870b7a0303e4a2c4b3dea1b479b4fcbc93f8d/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamingRelation.scala#L63]
>
> Our goal is to create an interface that allows other streaming sources to add `{{{}_metadata`{}}} columns. For instance, we would like the Delta Streaming source, which you can find here: [https://github.com/delta-io/delta/blob/master/spark/src/main/scala/org/apache/spark/sql/delta/sources/DeltaDataSource.scala#L49], to extend this interface and provide the `{{{}_metadata`{}}} column for its underlying storage format, such as Parquet.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org