Open HalfonA opened 2 weeks ago
@HalfonA, hi, thanks for opening the issue, problem, that insert & delete is not supported. Also, DELETE & INSERT is not a part of DDL - it is a DML, so DML is not supported at all. It was not planned to add any support for DML (because of idea & naming of the package).
Describe the bug Hi, I parse some logs of queries and I stumbled upon this bug: When using the parser with
snowflake
dialect,select
andcreate
works fine, butdelete
andinsert
returns empty lists- meaning no tables detected.To Reproduce Steps to reproduce the behavior:
Expected behavior I expect for the
insert
case, to haveTDM.CLEANSED.I_TRACKING
as a table, containing these columns:ID, BATCH_SIZE, SOURCE, SNOWFLAKE_BATCH_COMMIT_TS, BATCH_MIN_SOURCE_TS, BATCH_MAX_SOURCE_TS, MIN_OFFSET, MAX_OFFSET, K_PARTITION, IR, DUP_K_DROPS, TABLE_NAME
as a dictfor the
delete
case the same thing -SL_CHANGE
as thetable_name
andA_CHANGE_ID
as the columnDesktop:
Additional context I tried changing the
?
for another value but it didn't make any change for the insert ddl specifically, I also tried removing the spaces in the table name but it didn't make any change either