-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
DatabricksSQLOperator struggles with parsing the data #36838
Comments
There is also another ticket that is related to the similar code path: |
@Joffreybvn any idea? |
A namedtuple uses the field name (
I guess the second choice is too early. And we switched from tuple to namedtuple after previous discussions. Thus I'll open a PR with the first choice |
@Joffreybvn Just retested with
|
Using pandas-2.1.4 solved the issue for me (Airflow 2.8.1) |
Retested with newly released airflow
|
@aru-trackunit - seems that @Joffreybvn cannot reproduce the issue - can you please provide a bit more information as he asked in #36838 (comment) ? |
This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author. |
I think it's related to this issue databricks/databricks-sql-python#326 |
This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author. |
This issue has been closed because it has not received response from the issue author. |
Apache Airflow Provider(s)
databricks
Versions of Apache Airflow Providers
The error has not been present in version
apache-airflow-providers-databricks==4.7.0
I upgraded to the latest and it is present
apache-airflow-providers-databricks==6.0.0
Apache Airflow version
2.8.0
Operating System
Debian GNU/Linux 11 (bullseye)
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
What happened
For the investigation reasons I edited the
./hooks/databricks_sql.py
file and added some prints:in the method
_make_common_data_structure
result
var is a type list and value[Row(count(1)=9714)]
row_fields
value:<Row('count(1)')>
What you think should happen instead
No response
How to reproduce
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: