We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DISTINCT
select distinct t_order.order_id from t_order;
select distinct t_order.*, t_order_item.order_id from t_order, t_order_item where t_order.order_id = t_order_item.order_id
when there is * in sql, we need to get exact columns from shardingMetadata.
*
distinct
columnLabelAndIndexMap
QueryResultMetaData
TreeMap
HashMultimap
The text was updated successfully, but these errors were encountered:
SelectItems.getColumnLabels()
columnLabel
expression
SelectItem
DISTINCT table.*
terrymanu
Successfully merging a pull request may close this issue.
Optimization of
DISTINCT
SQL.select distinct t_order.order_id from t_order;
select distinct t_order.*, t_order_item.order_id from t_order, t_order_item where t_order.order_id = t_order_item.order_id
distinct
SQL to cover SQLS mentioned above.columnLabelAndIndexMap
, useQueryResultMetaData
for DistinctQueryResultTreeMap
, we should consider to useHashMultimap
for QueryResultMetaDataThe text was updated successfully, but these errors were encountered: