Hey. When we enable `use_materialization_flag_v2` ...
# community-support
m
Hey. When we enable
use_materialization_flag_v2
and
view_update_via_alter
in dbt,
elementary.on-run-end
hook fails with the error:
Copy code
14:33:04  Encountered an error:
Database Error
  [INVALID_INLINE_TABLE.INCOMPATIBLE_TYPES_IN_INLINE_TABLE] Invalid inline table. Found incompatible types in the column `col14` for inline table. SQLSTATE: 42000; line 9 pos 9
elementary: 0.21.0 dbt-databricks: 1.11.2 dbt-core: 1.11.0-rc2 Anybody encountered the same? When elementary hook is disabled, everything is finished without any errors.
@Noya Offer tag you for visibility
n
Hey @Mikhail Kuklin ! Haven't seen this error before, let me check
thankyou 1
Hey @Mikhail Kuklin, we think we understand where this is coming from. We just fixed something similar with the V2 materialization. Are you able to understand which table has incompatible types?
m
@Noya Offer hey, thanks for the reply.
Are you able to understand which table has incompatible types?
I haven’t looked into the table-level details yet, to be honest. This dbt run executes more than 200 models, so at the end I only see the final error message.
n
Makes sense, is it possible to share the dbt logs in the DM for us to investigate?
m
Sent you in the DM thankyou