milenkovicm opened a new pull request, #3073:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/3073

   Add supports for creating table SQL functions 
   
   ```sql
   CREATE OR REPLACE FUNCTION getemps(deptno INT)
       RETURNS TABLE (name STRING)
       RETURN SELECT name FROM employee e WHERE e.deptno = getemps.deptno;
   ```
   
   Dialects: Generics, Databricks 
   
   References: 
   
   - 
https://spark.apache.org/docs/latest/sql-ref-syntax-ddl-create-sql-function.html#replace-a-sql-function
   - 
https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-create-sql-function


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to