bryanyang0528/ksql-python

Error with lowercase columns

jokin opened this issue · 1 comments

jokin commented

the regex to parse the column names expect that they are all uppercase, but some queries and columns may be in lowercase even if it's not the default in ksqldb

regex = r"(?<!\<)`(?P<name>[A-Z_]+)` (?P<type>[A-z]+)[\<, \"](?!\>)"

Hello @jokin

I've forked the code, modernized it (replaced hyper with HTTPX, bumped all dependencies, updated to Python 3.9 as the minimal version, and fixed all the tests to behave with latest KSQL DB versions (0.29.0). Could you check if it's still present in my version?

https://github.com/sheinbergon/ksql-python-ng

I'll be making a PYPI release soon enough. In the meanwhile, you can test it by running

pipx install git+https://github.com/sheinbergon/ksql-python-ng.git --include-deps
or

pip install git+https://github.com/sheinbergon/ksql-python-ng.git