Skip to content

Commit

Permalink
Bump DuckDB to 1.1.0 snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ywelsch committed Sep 1, 2024
1 parent 09da4f2 commit 5dedc86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion duckdb
Submodule duckdb updated 3813 files
9 changes: 5 additions & 4 deletions src/prql_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ prql_plan(ParserExtensionInfo *, ClientContext &context,
// here. This allows the planning to be picked up by prql_bind instead, but
// we're not losing important context.
auto prql_state = make_shared_ptr<PrqlState>(std::move(parse_data));
context.registered_state["prql"] = prql_state;
context.registered_state->Remove("prql");

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

no member named 'Remove' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

no member named 'Remove' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

no member named 'Remove' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

no member named 'Remove' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

no member named 'Remove' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

no member named 'Remove' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

no member named 'Remove' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

no member named 'Remove' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / Linux (linux_amd64_gcc4, quay.io/pypa/manylinux2014_x86_64, x64-linux)

base operand of ‘->’ has non-pointer type ‘std::unordered_map<std::basic_string<char>, duckdb::shared_ptr<duckdb::ClientContextState> >’

Check failure on line 128 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / Linux (linux_amd64_gcc4, quay.io/pypa/manylinux2014_x86_64, x64-linux)

base operand of ‘->’ has non-pointer type ‘std::unordered_map<std::basic_string<char>, duckdb::shared_ptr<duckdb::ClientContextState> >’
context.registered_state->Insert("prql", prql_state);

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

no member named 'Insert' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

no member named 'Insert' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

no member named 'Insert' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

no member named 'Insert' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

no member named 'Insert' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / Linux (linux_amd64_gcc4, quay.io/pypa/manylinux2014_x86_64, x64-linux)

base operand of ‘->’ has non-pointer type ‘std::unordered_map<std::basic_string<char>, duckdb::shared_ptr<duckdb::ClientContextState> >’

Check failure on line 129 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / Linux (linux_amd64_gcc4, quay.io/pypa/manylinux2014_x86_64, x64-linux)

base operand of ‘->’ has non-pointer type ‘std::unordered_map<std::basic_string<char>, duckdb::shared_ptr<duckdb::ClientContextState> >’
throw BinderException("Use prql_bind instead");
}

Expand All @@ -135,9 +136,9 @@ BoundStatement prql_bind(ClientContext &context, Binder &binder,
case StatementType::EXTENSION_STATEMENT: {
auto &extension_statement = dynamic_cast<ExtensionStatement &>(statement);
if (extension_statement.extension.parse_function == prql_parse) {
auto lookup = context.registered_state.find("prql");
if (lookup != context.registered_state.end()) {
auto prql_state = (PrqlState *)lookup->second.get();
auto lookup = context.registered_state->Get<PrqlState>("prql");

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

no member named 'Get' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

'PrqlState' does not refer to a value

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

no member named 'Get' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

'PrqlState' does not refer to a value

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

no member named 'Get' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

'PrqlState' does not refer to a value

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

no member named 'Get' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

'PrqlState' does not refer to a value

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

member reference type 'unordered_map<string, shared_ptr<ClientContextState>>' (aka 'unordered_map<basic_string<char>, shared_ptr<ClientContextState>>') is not a pointer; did you mean to use '.'?

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

no member named 'Get' in 'std::unordered_map<std::string, duckdb::shared_ptr<duckdb::ClientContextState>>'

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

'PrqlState' does not refer to a value

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / Linux (linux_amd64_gcc4, quay.io/pypa/manylinux2014_x86_64, x64-linux)

base operand of ‘->’ has non-pointer type ‘std::unordered_map<std::basic_string<char>, duckdb::shared_ptr<duckdb::ClientContextState> >’

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / Linux (linux_amd64_gcc4, quay.io/pypa/manylinux2014_x86_64, x64-linux)

expected primary-expression before ‘>’ token

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / Linux (linux_amd64_gcc4, quay.io/pypa/manylinux2014_x86_64, x64-linux)

base operand of ‘->’ has non-pointer type ‘std::unordered_map<std::basic_string<char>, duckdb::shared_ptr<duckdb::ClientContextState> >’

Check failure on line 139 in src/prql_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / Linux (linux_amd64_gcc4, quay.io/pypa/manylinux2014_x86_64, x64-linux)

expected primary-expression before ‘>’ token
if (lookup) {
auto prql_state = (PrqlState *)lookup.get();
auto prql_binder = Binder::CreateBinder(context, &binder);
auto prql_parse_data =
dynamic_cast<PrqlParseData *>(prql_state->parse_data.get());
Expand Down

0 comments on commit 5dedc86

Please sign in to comment.