You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error :
sqlalchemy.exc.ProgrammingError: (ibm_db_dbi.ProgrammingError) ibm_db_dbi::ProgrammingError: SQLNumResultCols failed: [IBM][CLI Driver][DB2/LINUXX8664] SQL0461N A value with data type "SYSIBM.INTEGER" cannot be CAST to type "SYSIBM.CLOB". SQLSTATE=42846 SQLCODE=-461
Query Generated: Instead of casting to string or varchar its being cast to CLOB
SELECT CAST(t5.age AS CLOB) AS cast__age, CAST(t5.birthdate AS CLOB) AS cast__birthdate, CAST(t5.order_amount AS CLOB) AS cast__order_amount, CAST(t5.load_ts AS CLOB) AS cast__load_ts
FROM test.table AS t5
The text was updated successfully, but these errors were encountered:
Raniksingh
changed the title
Row validation for DB2 to Bigquery fails
Row validation for DB2 to Bigquery not supported
Feb 9, 2023
Command:
data-validation -v validate row
-sc DB2_CONN
-tc BQ_CONN
-tbls POCDB2.customer=rite-aid-371612.bq_dvt.customer_db2_df
--primary-keys custid
--concat custname,age,phonenum,birthdate,order_amount,load_ts
--bq-result-handler rite-aid-371612.data_validator.results
Error :
sqlalchemy.exc.ProgrammingError: (ibm_db_dbi.ProgrammingError) ibm_db_dbi::ProgrammingError: SQLNumResultCols failed: [IBM][CLI Driver][DB2/LINUXX8664] SQL0461N A value with data type "SYSIBM.INTEGER" cannot be CAST to type "SYSIBM.CLOB". SQLSTATE=42846 SQLCODE=-461
Query Generated: Instead of casting to string or varchar its being cast to CLOB
SELECT CAST(t5.age AS CLOB) AS cast__age, CAST(t5.birthdate AS CLOB) AS cast__birthdate, CAST(t5.order_amount AS CLOB) AS cast__order_amount, CAST(t5.load_ts AS CLOB) AS cast__load_ts
FROM test.table AS t5
The text was updated successfully, but these errors were encountered: