datafusion-sqlparse/tests
Kaushik Iska 1c64129f76
[postgres] Add support for custom binary operators (#548)
* [postgres] Add support for custom binary operators

More details about operators in general are at:
https://www.postgresql.org/docs/current/sql-createoperator.html. This
patch attempts to parse `SELECT` queries that reference an operator
using `OPERATOR(<optional_schema>.<operator_name>)` syntax.

This is a PostgreSQL extension. There are no provisions for user-defined operators in the SQL standard.

* fix code-review comments and ci failures

* Allow custom operator in generic dialects too

* Parse `OPERATOR` as Vec<String>

* fix: std

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2022-08-05 13:53:58 -04:00
..
queries/tpch Add TPCH reggression tests (#221) 2020-07-14 21:48:07 +02:00
test_utils Support NestedJoin with an alias (#551) 2022-08-03 19:41:15 -04:00
sqlparser_bigquery.rs feat: support SAFE_CAST for bigquery (#552) 2022-08-03 09:17:39 -04:00
sqlparser_common.rs feat: Allow to use >> and << binary operators in Generic dialect (#553) 2022-08-05 06:25:57 -04:00
sqlparser_hive.rs hive: add create function syntax (#496) 2022-05-26 17:30:10 -04:00
sqlparser_mssql.rs Support Parsing of hexadecimal literals that start with 0x (#324) 2021-08-25 12:57:32 -04:00
sqlparser_mysql.rs Add support for mysql 'SHOW CREATE VIEW' statement (#536) 2022-07-18 06:10:09 -04:00
sqlparser_postgres.rs [postgres] Add support for custom binary operators (#548) 2022-08-05 13:53:58 -04:00
sqlparser_redshift.rs Distinguish between tables and nullary functions in FROM (#506) 2022-05-25 16:01:13 -04:00
sqlparser_regression.rs Parse floats without leading number (#294) 2021-02-08 08:11:01 +01:00
sqlparser_snowflake.rs Support NestedJoin with an alias (#551) 2022-08-03 19:41:15 -04:00
sqlparser_sqlite.rs Support minimum display width for integer data types (#337) 2021-08-29 07:13:10 -04:00
sqpparser_clickhouse.rs Distinguish between tables and nullary functions in FROM (#506) 2022-05-25 16:01:13 -04:00