-
Notifications
You must be signed in to change notification settings - Fork 21
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
pgduckdb_get_querydef() ignores certain type conversion #105
Comments
and when I insert into the same row from a normal table, run the sql file reports
|
The issue is because |
It doesn't error on my side scratch (pid: 5831) =# create table games2(i int, j varchar);
CREATE TABLE
scratch (pid: 5831) =# with t as (select chr((126983+i)::int) pic from generate_series(0,26)t(i))insert into games2 select 2, string_agg(pic,''order by pic)j from t
,generate_series(1,4);
INSERT 0 1
scratch (pid: 5831) =# CREATE TABLE games USING columnstore AS TABLE games2;
CREATE TABLE AS
scratch (pid: 5831) =# \i mj9apg.txt
ret | k1 | k2 | k3 | k4 | d
----------------+-----+-----+-----+-----+----
🀇🀇🀇🀇🀈🀈🀈🀈🀉🀉🀉🀉🀊🀊 | 🀇🀇🀇 | 🀈🀈🀈 | 🀇🀈🀉 | 🀉🀉🀉 | 🀊🀊
(1 row) Can you provide more details to repro? I already changed
|
I narrow the question, the sql raise error when processing tmp1, if only query tmp0, it'ok.
|
OK, you are hitting #100 |
columnstore_slot_callback error fixed in new docker image of today. |
|
What happens?
chr()function does not works when insert into a columnstore, it seems the casts to int operate is omitted
when insert a normal table, it works. duckdb also works.
To Reproduce
OS:
x64 Linux
pg_mooncake Version:
0.1
Postgres Version:
17.2
Are you using pg_mooncake Docker, Neon, or the extension standalone?
pg_mooncake Docker Image
The text was updated successfully, but these errors were encountered: