migration with snowflake dialect giving SQL compilation error
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, node.js, sql
Direzione di ricerca
Start by reproducing the issue with npx sequelize-cli db:migrate using the configuration and migration setup described in the issue. Inspect the generated SQL around the CHARSET and utf8_unicode_ci clauses, then verify that the migration completes successfully for the Snowflake dialect without those incompatible clauses.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What you are doing?
Attempting to run migration on snowflake. I am following the steps mentioned here - https://sequelize.org/docs/v6/other-topics/migrations/#installing-the-cli
What do you expect to happen?
I want to run npx sequelize-cli db:migrate migration successfully
What is actually happening?
But I am getting SQL compilation error
Output, either JSON or SQL
PS C:\projects\snowflake\migration-poc> npx sequelize-cli db:migrate
Sequelize CLI [Node: 18.12.1, CLI: 6.5.2, ORM: 6.28.0]
Loaded configuration file "config\config.json".
Using environment "development".
Disconnected connection with id: 03eabb72-293c-4caa-841a-9d7713c34e7c
ERROR: SQL compilation error:
syntax error line 1 at position 112 unexpected 'CHARSET'.
syntax error line 1 at position 133 unexpected 'utf8_unicode_ci'.
Dialect: snowflake
Database version: XXX
Sequelize CLI version: 6.5.2
Sequelize version: 6.28.0
- Lingua principale
- JavaScript
- Stelle
- 2.6k
- Fork
- 524
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sequelize/cli
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di sequelize/cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Daemon passes --experimental-wasm-jspi unconditionally on Node >= 24; Node 26 rejects the flag Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Automattic/studio#4908 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
sugarlabs/musicblocks#8847 ·