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
Our smallest example of the Astro SDK uses the imdb.csv dataset, which currently has capitalized columns. It works fine for the illustrative example (Sqlite), but when using Postgres, the same transform select statement fails.
[2022-08-23, 10:17:35 UTC] {taskinstance.py:1910} ERROR - Task failed with exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1705, in _execute_context
self.dialect.do_execute(
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 716, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.UndefinedColumn: column "title" does not exist
LINE 2: SELECT Title, Rating, Genre
^
HINT: Perhaps you meant to reference the column "imdb_movies.Title".
The workaround is to change the select statement:
SELECT "Title", "Rating", "Genre"
Acceptance criteria
Create a new version of imdb.csv with lowercase column names and update the examples to use it, so this change is backwards-compatible
The text was updated successfully, but these errors were encountered:
tatiana
changed the title
Create a new version of imdb.csv with lowercase column names and update the examples to use it
Create a new version of imdb.csv and update the examples to use it
Aug 23, 2022
Context
Our smallest example of the Astro SDK uses the
imdb.csv
dataset, which currently has capitalized columns. It works fine for the illustrative example (Sqlite), but when using Postgres, the sametransform
select statement fails.Example DAG
The issue raised:
The workaround is to change the select statement:
Acceptance criteria
imdb.csv
with lowercase column names and update the examples to use it, so this change is backwards-compatibleThe text was updated successfully, but these errors were encountered: