-
Notifications
You must be signed in to change notification settings - Fork 32
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
Sub-query example query #15
Comments
Do we've any updates on this? @jbguerraz |
As I understand the Load() function returns correct request body but when making call to Execute() function, we get error about the null value.
|
For context - I'm trying this query:
|
This was the query sent to druid, why do we've a
|
we haven't tested sub-querying. |
As discussed on Slack this comes from this change: b1a5a24#diff-8086ca5b4c31b5fcab1a5f0afc76bea40123e6a3852ecc1a19e1bba87e0a4b68R11 Have to restore it as it was in 4995687#diff-79e56959c31d638b4bdc3513e79921e69eefeb66836c1e985dbaa9585f8c968aR12 Probably it could be related to #78 |
@saketbairoliya2 @jbguerraz @vigith There were code modifications. type Query struct {
Base
Query builder.Query `json:"query,omitempty"`
} This is necessary to make a subquery. so please check it out. |
This query must have never worked indeed. Introduced here: 4995687#diff-7c1b8c5172fe7687c2af90f55f18e7e5eacf13af953ccc2bbeb5de3fa56e2688R25
Probably used only to debug the object model of the query (specific to circular dependency) rather than for getting results. We should fix it so it is valid and return results but still test the sub-query case
Originally posted by @jbguerraz in #13 (comment)
The text was updated successfully, but these errors were encountered: