tekumara / fakesnow

Fake Snowflake Connector for Python. Run, mock and test Snowflake DB locally.
Apache License 2.0
108 stars 10 forks source link

feat: Support truncate description. #144

Open DanCardin opened 1 week ago

DanCardin commented 1 week ago

I did this differently from all of the other describe operations because describe truncate is (currently) a syntax error in sqlglot, and it didn't seem to be of particular import to fakesnow whether it was supported or not.

In fact, (to me) it seems like dealing with the describe special cases in this location, in general, will result in less special case code handing for the majority case of non-describe sql statements, which seems like a win to me?