Dask read_sql_table errors out when using an SQLAlchemy expression

前端 未结 3 931
没有蜡笔的小新
没有蜡笔的小新 2021-01-23 12:55

I\'m trying to use an SQLAlchemy expression with dask\'s read_sql_table in order to bring down a dataset that is created by joining and filtering a few different tables. The do

3条回答
  •  情话喂你
    2021-01-23 13:09

    The query sent on that line is auto-generated by SQLAlchemy, so the syntax ought to be correct. However, I notice that your original query includes a .limit() modifier. The purpose of the line head = is to get the first few rows, to infer types. If the original query already has a limit clause, I can see that the two might conflict. Please try using a query without .limit().

提交回复
热议问题