kramerul commented on a change in pull request #2426:
URL: https://github.com/apache/calcite/pull/2426#discussion_r646339971
##########
File path:
core/src/main/java/org/apache/calcite/rel/rel2sql/RelToSqlConverter.java
##########
@@ -525,7 +530,38 @@ private static SqlNode groupItem(List<SqlNode> groupKeys,
/** Visits a TableScan; called by {@link #dispatch} via reflection. */
public Result visit(TableScan e) {
final SqlIdentifier identifier = getSqlTargetTable(e);
- return result(identifier, ImmutableList.of(Clause.FROM), e, null);
+ SqlNode node = identifier;
+ if (e instanceof Hintable) {
+ final ImmutableList<RelHint> hints = e.getHints();
+ if (hints != null && ! hints.isEmpty()) {
+ SqlParserPos pos = identifier.getParserPosition();
Review comment:
No this seems not to be the case. I will remove this check.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]