-
Notifications
You must be signed in to change notification settings - Fork 194
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
SubQueries Support #135
Comments
Not currently supported AFAICT |
Hi @mistercrunch, |
Please do! |
Hi @mistercrunch |
This issue is fixed. Below is the way you can define sub queries.
|
it still raise ValueError because query.sub_query return dict while in query.groupby check for the given datasource to be string or list of string. can you fix that too? |
Sure I can fix this, What your trying to do. Can you please give me an example? |
Hi @ashexpert, I Understand your problem. Yes when you use sub_query, it return dict. I think your talking about this, If i am not wrong.
|
PR |
Hi @pantlavanya |
Hi @mistercrunch |
This format does not work for me. Getting this error: Can you please help. |
Its not forming the query right. Its adding extra union type which is making the syntax incorrect. |
@pantlavanya , can you please help. When I use the pydruid query format that you have given above, it is getting converted to native druid with an extra 'union' and druid query is failing. Would appreciate if you can help! Thanks. |
Hello All,
How i can generate subqueries using pydruid because datasource field only take either str or list?
""" ValueError: Datasource definition not valid. Must be string or list of strings """
Below is the sample query. On which I am passing query output of 1st query to another query as datasource.
The text was updated successfully, but these errors were encountered: