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
chloeh13q opened this issue
May 2, 2024
· 4 comments
Labels
examplesIssues/PRs related to `ibis.examples`featureFeatures or general enhancementsmssqlThe Microsoft SQL Server backendmysqlThe MySQL backendpostgresThe PostgreSQL backend
I've been playing around with ibis examples a lot lately, and I noticed that some examples are broken on different backends, and some backends don't support examples at all. It was hard to get an idea of what works and what doesn't, other than trying it out manually and see whether I get an error or not.
What is the motivation behind your request?
Create a smoother user experience around ibis examples, so that the examples can be utilized better for experimentation and exploration around ibis.
Describe the solution you'd like
Fix the backends where example loading is broken (in progress; so far we have identified issues with postgres, mysql, mssql).
Have an actual error message if the current default backend doesn't support examples (Druid, PySpark, RW). That way we can error cleanly, and avoid downloading the example parquet file that can't be loaded.
What version of ibis are you running?
main
What backend(s) are you using, if any?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
this might be too janky, but once #8115 is in, perhaps for those that don't support it if you have DuckDB installed we could use that to load them in, then transfer them over?
At least for postgres, mysql, and mssql, the issues loading examples are symptomatic of general problems with NaN/NULL handling and temp table creation, which we should fix anyway.
Okay, I wrote up a script to do some more systematic testing, and I think there are some other edge cases that we're not properly handling on different backends. Going to keep a list of examples that are broken:
MySQL:
PitchingPost
PitchingPost_raw
nycflights13_flights
nycflights13_weather
wowah_data_raw
Dask:
None
DataFusion:
nycflights13_flights
nycflights13_weather
wowah_data_raw
Exception: DataFusion error: NotImplemented("Unsupported SQL type Timestamp(Some(6), None)") on all three
sqlite:
lakers
ProgrammingError: Error binding parameter 4: type 'datetime.time' is not supported
But also I wonder if this is something we'd want to test in CI.
examplesIssues/PRs related to `ibis.examples`featureFeatures or general enhancementsmssqlThe Microsoft SQL Server backendmysqlThe MySQL backendpostgresThe PostgreSQL backend
Is your feature request related to a problem?
I've been playing around with ibis examples a lot lately, and I noticed that some examples are broken on different backends, and some backends don't support examples at all. It was hard to get an idea of what works and what doesn't, other than trying it out manually and see whether I get an error or not.
What is the motivation behind your request?
Create a smoother user experience around ibis examples, so that the examples can be utilized better for experimentation and exploration around ibis.
Describe the solution you'd like
What version of ibis are you running?
main
What backend(s) are you using, if any?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: