slidoapp / duckberg Goto Github PK
View Code? Open in Web Editor NEWPython package for querying iceberg data through duckdb.
License: Apache License 2.0
Python package for querying iceberg data through duckdb.
License: Apache License 2.0
When I tried string in where condition like WHERE column = '108e6307-f23a-4e10-9e38-1866d58b4355'
the Duckberg was not able to parse it and I've got the error
Traceback (most recent call last): File "/Users/jcechovs/slido/duckberg/tests/duckberg-sample-s3.py", line 34, in <module> df = db.select(sql=query).read_pandas() File "/Users/jcechovs/slido/duckberg/src/duckberg/__init__.py", line 84, in select extracted_tables = self.sql_parser.extract_tables(parsed_sql) File "/Users/jcechovs/slido/duckberg/src/duckberg/sqlparser.py", line 41, in extract_tables c_table_wc = self.extract_where_conditions(token) File "/Users/jcechovs/slido/duckberg/src/duckberg/sqlparser.py", line 49, in extract_where_conditions return parser.parse(str(comparison)) File "/Users/jcechovs/slido/duckberg/venv/lib/python3.10/site-packages/pyiceberg/expressions/parser.py", line 270, in parse return boolean_expression.parse_string(expr, parse_all=True)[0] File "/Users/jcechovs/slido/duckberg/venv/lib/python3.10/site-packages/pyparsing/core.py", line 1197, in parse_string raise exc.with_traceback(None) pyparsing.exceptions.ParseException: Expected expr, found '"' (at char 19), (line:1, col:20)
It look like strings are not able to use in WHERE statements
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.