liquibase / liquibase-bigquery

Apache License 2.0
21 stars 9 forks source link

Error creating DATABASECHANGELOG table #223

Open jaalvarezuria opened 1 year ago

jaalvarezuria commented 1 year ago

Hi,

I´m trying to execute some changelogs and I´ve de following error when liquidbase tries to create its tables:

[2023-11-23 10:47:49] INFO [liquibase.command] Command execution complete [2023-11-23 10:47:49] SEVERE [liquibase.integration] [Simba]BigQueryJDBCDriver Error executing query job. Message: Type not found: VARCHAR at [1:36] [Failed SQL: (100032) CREATE TABLE DATABASECHANGELOG (ID VARCHAR(255) NOT NULL, AUTHOR VARCHAR(255) NOT NULL, FILENAME VARCHAR(255) NOT NULL, DATEEXECUTED datetime NOT NULL, ORDEREXECUTED INT NOT NULL, EXECTYPE VARCHAR(10) NOT NULL, MD5SUM VARCHAR(35), DESCRIPTION VARCHAR(255), COMMENTS VARCHAR(255), TAG VARCHAR(255), LIQUIBASE VARCHAR(20), CONTEXTS VARCHAR(255), LABELS VARCHAR(255), DEPLOYMENT_ID VARCHAR(10))]

I´m using the liquidbase github action plugin with the following options:

is it maybe liquidbase library github action plugin is using?

Many thanks

cuong0993 commented 10 months ago

Same issue. MacOS 14.2.1. liquibase 4.25.1 from brew SimbaJDBCDriverforGoogleBigQuery42_1.5.2.1005 liquibase-bigquery-4.25.1.jar

Strange that it work on my Windows :D

cuong0993 commented 10 months ago

Not sure what configuration caused this. I used classpath for jar files. But I can make things work by downloading the liquibase-4.25.1.zip, putting all jar files into the lib folder.

gregjay43 commented 9 months ago

Same issue: liquibase/liquibase:4.25.1 docker image SimbaJDBCDriverforGoogleBigQuery42_1.5.2.1005 liquibase-bigquery-4.25.1.jar

carliecope commented 9 months ago

Same issue: MacOS 14.3.1 liquibase/liquibase:4.25.1 docker image SimbaJDBCDriverforGoogleBigQuery42_1.5.2.1004 liquibase-bigquery-4.25.1.jar

aamanyi-equinix commented 8 months ago

Has this issue been resolved?