-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Valid format for Array<String> in loading CSV data #308
Comments
@vedantsali No, unfortunately that is not supported:
Instead of using databaseChangeLog:
- preConditions:
onFail: HALT
onError: HALT
- changeSet:
id: v0.1-insert-data-with-sql
author: spanner-liquibase-tests
changes:
- sql: |
insert into my_table (id, name, other_languages)
select 1, 'One', ['En', 'Eins', 'Uno']
union all
select 2, 'Two', ['To', 'Zwei', 'Dos'];
insert into my_table (id, name, other_languages)
select 3, 'Three', ['Tre', 'Drei', 'Tres']
union all
select 4, 'Four', ['Fire', 'Vier', 'Cuatro']; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a valid format for loading data using csv file is one of the column is array of strings
listId;listName;applicationName;isActive;description;type;createdBy;createdOn;updatedBy;updatedOn
10;Timezone;[xyz];true;Global Timezones;;SYSTEM;PENDING_COMMIT_TIMESTAMP();SYSTEM;PENDING_COMMIT_TIMESTAMP()
The text was updated successfully, but these errors were encountered: