Skip to content
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

add duckdb support #1398

Merged
merged 18 commits into from
Sep 25, 2024
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
ahuang11 committed Sep 13, 2024
commit ebac8474762c12fefcbfee588036e07d022a4113
4 changes: 2 additions & 2 deletions hvplot/tests/testplotting.py
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ def test_plot_supports_duckdb_relation():
connection = duckdb.connect(':memory:')
relation = duckdb.from_df(makeDataFrame(), connection=connection)
out = plot(relation, 'line')
assert isinstance(out, hv.Curve)
assert isinstance(out, hv.NdOverlay)


def test_plot_supports_duckdb_connection():
@@ -78,4 +78,4 @@ def test_plot_supports_duckdb_connection():
relation = duckdb.from_df(makeDataFrame(), connection=connection)
relation.to_view('test')
out = plot(connection.execute('SELECT * FROM test'), 'line')
assert isinstance(out, hv.Curve)
assert isinstance(out, hv.NdOverlay)