Re: [I] Document PREPARE statements [datafusion]

2025-02-19 Thread via GitHub
jonahgao commented on issue #13570: URL: https://github.com/apache/datafusion/issues/13570#issuecomment-2668747633 Maybe we can follow DuckDB's syntax; it seems quite readable to me. https://duckdb.org/docs/sql/query_syntax/prepared_statements.html#named-parameters-parameter

Re: [I] Document PREPARE statements [datafusion]

2025-02-18 Thread via GitHub
dhegberg commented on issue #13570: URL: https://github.com/apache/datafusion/issues/13570#issuecomment-2667446243 I was looking at how to support named parameters for PREPARE statements. I expected the supported syntax in SQL dialects to looks something like: ``` PREPARE fun

Re: [I] Document PREPARE statements [datafusion]

2025-02-10 Thread via GitHub
dhegberg commented on issue #13570: URL: https://github.com/apache/datafusion/issues/13570#issuecomment-2648544296 take -- 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 u

Re: [I] Document PREPARE statements [datafusion]

2025-02-10 Thread via GitHub
dhegberg commented on issue #13570: URL: https://github.com/apache/datafusion/issues/13570#issuecomment-2648541644 I think I'll post my documentation change without the named arguments. I'll then take a stab as adding support for named arguments with EXECUTE. -- This is an automated mess

Re: [I] Document PREPARE statements [datafusion]

2025-02-10 Thread via GitHub
jonahgao commented on issue #13570: URL: https://github.com/apache/datafusion/issues/13570#issuecomment-2648055675 > I've started to put together some basic documentation for prepared statements, but when generating examples I'm struggling to use named parameters. > > Using `SessionCo

Re: [I] Document PREPARE statements [datafusion]

2025-02-10 Thread via GitHub
alamb commented on issue #13570: URL: https://github.com/apache/datafusion/issues/13570#issuecomment-2647797989 Thanks @dhegberg -- I am not sure if that is desired or not -- maybe it is worth a ticket -- This is an automated message from the Apache Git Service. To respond to the message

Re: [I] Document PREPARE statements [datafusion]

2025-02-09 Thread via GitHub
dhegberg commented on issue #13570: URL: https://github.com/apache/datafusion/issues/13570#issuecomment-2647102910 I've started to put together some basic documentation for prepared statements, but when generating examples I'm struggling to use named parameters. Using `SessionContext:

Re: [I] Document PREPARE statements [datafusion]

2024-11-27 Thread via GitHub
alamb commented on issue #13570: URL: https://github.com/apache/datafusion/issues/13570#issuecomment-2503560227 Yes, thank you @leoyvens @NGA-TRAN , @erratic-pattern and @jonahgao have done some great work in this area and indeed it would be great to get it documented -- This is