calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gautam Parai <gpa...@mapr.com>
Subject Re: DEFAULT_IN_SUB_QUERY_THRESHOLD
Date Wed, 01 Feb 2017 18:58:20 GMT
Hi,


The getInSubqueryThreshold() is marked as deprecated since this transformation would later
be expressed as a planner rule. Although, it might still end up being used as a property for
the new rule.


I did not understand what you mean by `required parameters`.


Gautam

________________________________
From: Gupta, Shuchi <Shuchi.Gupta2@ca.com>
Sent: Wednesday, February 1, 2017 12:15:08 AM
To: dev@calcite.apache.org
Subject: DEFAULT_IN_SUB_QUERY_THRESHOLD


Hi Team



I see a default value of 20 as threshold for IN component in the query. Also the getInSubqueryThreshold
method is planned to be deprecated. What is the method to be used instead for a generic Driver?
Also if we use the DEFAULT_IN_SUB_QUERY_THRESHOLD, the query specification doesn't contain
the required parameters (In my case if the threshold was exceeded, the group by type query
was getting converted to select type and there are no means I can get the aggregate column
details).


Shuchi Gupta
Software Engineer (CA)

CA Technologies | Plot 115/1, 115/16-115/21 | Hyderabad, 500032
Office: +71262 | Shuchi.Gupta2@ca.com

<mailto:Shuchi.Gupta2@ca.com>[CA]<http://www.ca.com/us/default.aspx>[Twitter]<http://twitter.com/CAInc>[Slideshare]<http://www.slideshare.net/cainc>[Facebook]<https://www.facebook.com/CATechnologies>[YouTube]<http://www.youtube.com/user/catechnologies>[LinkedIn]<http://www.linkedin.com/company/1372?goback=.cps_1244823420724_1>[Google+]<https://plus.google.com/+CATechnologies>[Google+]<http://www.ca.com/us/rss.aspx?intcmp=footernav>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message