-
Notifications
You must be signed in to change notification settings - Fork 333
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
Can greptime support the same name column before statement_to_plan? #5344
Comments
update: |
Yes, I remember there is a statement sent from dbeaver has this issue. It seems datafusion designed this with purpose. I can go upstream to ask about the rational |
upstream working on this like: apache/datafusion#13489 and I searched GitHub Found the |
Great. I think we can do the same as cube does. We do have a pre-processing module in servers::postgres called |
This patch support pg_database for pg_catalog, also add query replace, in fixtures.rs for the reason that datafusion do not support sql like 'select 1,1;' more can check issue GreptimeTeam#5344. Signed-off-by: yihong0618 <[email protected]>
This patch support pg_database for pg_catalog, also add query replace, in fixtures.rs for the reason that datafusion do not support sql like 'select 1,1;' more can check issue #5344. Signed-off-by: yihong0618 <[email protected]>
What type of enhancement is this?
User experience
What does the enhancement do?
for now seems greptime do not support same name column for the select stmt
very simple query will raise error
and it seems from this line
greptimedb/src/query/src/planner.rs
Line 106 in f069ea0
datafusion side raise this error;
but for pg user(maybe others) it is a very common use case like
select oid, * from xxxx;
my question is that can we support that? I did some search like risingwave and databend seems support it. but I tried it kind of hard for me for support it myself, so I left this issue here.
and this feature also block some IDE like DBeaver support
@sunng87
Implementation challenges
No response
The text was updated successfully, but these errors were encountered: