Eric Marnadi created SPARK-55054:
------------------------------------
Summary: Add IDENTIFIED BY support for streaming table-valued
functions
Key: SPARK-55054
URL: https://issues.apache.org/jira/browse/SPARK-55054
Project: Spark
Issue Type: Task
Components: SQL, Structured Streaming
Affects Versions: 4.2.0
Reporter: Eric Marnadi
Extend the IDENTIFIED BY syntax to support streaming table-valued functions
(TVFs), complementing the existing support for streaming tables.
The changes include:
- Added grammar rules for streaming TVFs with IDENTIFIED BY clause
- Split `functionTable` into `tableFunctionCall` + clauses for consistent syntax
- Added validation that IDENTIFIED BY is only allowed for streaming sources
- Streaming TVFs support two syntaxes:
1. `STREAM tvf() IDENTIFIED BY name` - clauses inside
2. `STREAM(tvf()) IDENTIFIED BY name` - clauses outside (consistent with
table syntax)
- Added comprehensive test coverage for both syntaxes
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]