Compare commits
No commits in common. "94646a88030ec5c38141dffaca55252a21bdee02" and "cc8540e4f46957d613c71e417f3613f210b41f92" have entirely different histories.
94646a8803
...
cc8540e4f4
@ -1,4 +1,3 @@
|
|||||||
# OCAML SQL PARSER
|
# OCAML SQL PARSER
|
||||||
|
|
||||||
using [this grammar](https://ronsavage.github.io/SQL/sql-2003-2.bnf.html)
|
using [this grammar](https://ronsavage.github.io/SQL/sql-2003-2.bnf.html)
|
||||||
resource on iceberg table format [here](https://www.dremio.com/resources/guides/apache-iceberg-an-architectural-look-under-the-covers/?utm_campaign=Search - Nonbrand - Iceberg - Global&utm_medium=cpc&utm_source=google&utm_term=apache iceberg architecture&campaignid=21254670688&adgroupid=161477881323&matchtype=p&gad_source=1&gclid=EAIaIQobChMIqu6NnIybigMV2ExBAh1xii74EAAYASAAEgLUhPD_BwE)
|
|
||||||
|
@ -316,48 +316,5 @@ grouping_column_reference:
|
|||||||
| column_reference {}
|
| column_reference {}
|
||||||
(*| column_reference collate_clause {}*)
|
(*| column_reference collate_clause {}*)
|
||||||
|
|
||||||
(* 11.1 SCHEMA DEFINITION *)
|
|
||||||
|
|
||||||
schema_definition:
|
|
||||||
| CREATE SCHEMA schema_name_clause {}
|
|
||||||
|
|
||||||
schema_name_clause :
|
|
||||||
| schema_name {}
|
|
||||||
|
|
||||||
(**************************)
|
|
||||||
|
|
||||||
(* 11.2 DROP SCHEMA STATEMENT *)
|
|
||||||
|
|
||||||
drop_schema_statement:
|
|
||||||
| DROP SCHEMA schema_name
|
|
||||||
|
|
||||||
(******************************)
|
|
||||||
|
|
||||||
(* 11.3 TABLE DEFINITION *)
|
|
||||||
|
|
||||||
table_definition :
|
table_definition :
|
||||||
| CREATE TABLE table_name {}
|
| CREATE TABLE table_name {}
|
||||||
|
|
||||||
table_scope :
|
|
||||||
| global_or_local TEMPORARY {}
|
|
||||||
|
|
||||||
global_or_local :
|
|
||||||
| GLOBAL {}
|
|
||||||
| LOCAL {}
|
|
||||||
|
|
||||||
(*************************)
|
|
||||||
|
|
||||||
(* 11.18 DROP COLUMN DEFINITION *)
|
|
||||||
|
|
||||||
drop_column_definition:
|
|
||||||
| DROP column_name {}
|
|
||||||
| DROP COLUMN column_name {}
|
|
||||||
|
|
||||||
(********************************)
|
|
||||||
|
|
||||||
(* 11.21 DROP TABLE STATEMENT *)
|
|
||||||
|
|
||||||
drop_table_statement:
|
|
||||||
| DROP TABLE table_name {}
|
|
||||||
|
|
||||||
(******************************)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user