Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Both FLIP-136 and FLIP-129 assume that a table schema is able to store both a SQL expression and a Table API one. Therefore we should introduce an expression in Table API that allows to use SQL expressions. This is also useful for other use cases where people prefer SQL expressions in Table API.
An expression `callSql(String)` next to `call(udf)` can offer scalar operations such as:
table.select(callSql("1+1"), 12, call(Udf.class, $("f0")))
Attachments
Issue Links
- blocks
-
FLINK-17793 Replace TableSchema with dedicated CatalogSchema
- Closed
- links to