Michal Ondras
12/18/2024, 6:49 PMTIMESTAMP
type instead of TIMESTAMP_NTZ
? anybody else. just popped recently... thinking it's the new tag possibly?Edgar Ramírez (Arch.dev)
12/18/2024, 6:52 PMMichal Ondras
12/18/2024, 6:58 PMTIMESTAMP
from TIMESTAMP_NTZ
for this? just curious. seems to be tied to sql-alchemy dependency from the logsMichal Ondras
12/18/2024, 7:36 PMEdgar Ramírez (Arch.dev)
12/18/2024, 8:04 PMsql-alchemy dependency from the logscan you share a link to that?
fyi, i did downgrade and it passeddo you mean the error persisted after downgrading?
Michal Ondras
12/18/2024, 8:08 PMNotImplementedError: Default TypeEngine.as_generic() heuristic method was unsuccessful for target_snowflake.snowflake_types.TIMESTAMP_NTZ. A custom as_generic() method must be implemented for this type class.
2. yes, went to 0.12.0 and it doesn't have this issueEdgar Ramírez (Arch.dev)
12/18/2024, 9:49 PMTIMESTAMP_NTZ().as_generic()
sct.TIMESTAMP_NTZ().as_generic()
fail also in v0.12.0 so I don't think it's related to snowflake-sqlalchemy updates. Which makes me think it's the upstream Singer SDK changes.Edgar Ramírez (Arch.dev)
12/18/2024, 10:07 PMMichal Ondras
12/18/2024, 10:13 PMChad
12/19/2024, 3:55 AMevent='ERROR:sqlconnector:Error adapting column type for \'"DEV_WAREHOUSE"."RAW_HALO"."SQLFILTER"._SDC_DELETED_AT\', \'TIMESTAMP_NTZ\' to \'DATETIME\' (new sql type)'
Chad
12/19/2024, 3:55 AMevent='NotImplementedError: Default TypeEngine.as_generic() heuristic method was unsuccessful for target_snowflake.snowflake_types.TIMESTAMP_NTZ. A custom as_generic() method must be implemented for this type class.'
Chad
12/19/2024, 6:54 AMChad
12/19/2024, 10:55 AMChad
12/19/2024, 11:01 AMEdgar Ramírez (Arch.dev)
12/19/2024, 5:10 PMusing the plugin version from that PRDid you reference the branch in your
pip_url
?Michal Ondras
12/19/2024, 5:58 PMChad
12/19/2024, 8:53 PMChad
12/19/2024, 8:54 PMMichal Ondras
12/19/2024, 9:29 PMChad
12/19/2024, 10:50 PMChad
12/23/2024, 5:26 AMEdgar Ramírez (Arch.dev)
01/02/2025, 2:26 PMEdgar Ramírez (Arch.dev)
01/02/2025, 7:52 PM0.14.1
at least pins snowflake-sqlalchemy to version known to work. Let me know if that fixes the problem for you!