Skip to content

Schema evolution on table #102

Answered by littleK0i
josephniblo asked this question in Q&A
Discussion options

You must be logged in to vote

In my view, it is a harmful option, which should not have been released in its current state.

I'll explain:

  1. It can only add new columns. Manual intervention is required for pretty much all other operations.
  2. Data types in source files (AVRO, Parquet, ORC, CSV) do not correspond to Snowflake data types. INFER_SCHEMA might not be able to detect the correct NUMBER size, to distringuis NUMBER and FLOAT, to distinguinsh OBJECT and ARRAY from generic VARIANT, etc. etc.
  3. If I understand it correctly, comments, masking policies, defaults and many other column-related options cannot be specified.
  4. Table cannot be reproduced in DEV environment, when you destroy and apply config again with env_prefix.…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@josephniblo
Comment options

Answer selected by josephniblo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants