Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1090,10 +1090,10 @@ protected Scope visitTableExecute(TableExecute node, Optional<Scope> scope)

TableExecuteHandle executeHandle =
metadata.getTableHandleForExecute(
session,
tableHandle,
procedureName,
tableProperties)
session,
tableHandle,
procedureName,
tableProperties)
.orElseThrow(() -> semanticException(NOT_SUPPORTED, node, "Procedure '%s' cannot be executed on table '%s'", procedureName, tableName));

analysis.setTableExecuteHandle(executeHandle);
Expand Down Expand Up @@ -3250,8 +3250,8 @@ private List<Field> filterInaccessibleFields(List<Field> fields)
});

return fields.stream()
.filter(field -> accessibleFields.contains(field))
.collect(toImmutableList());
.filter(field -> accessibleFields.contains(field))
.collect(toImmutableList());
}

private void analyzeAllColumnsFromTable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ protected Void visitPatternRecognitionRelation(PatternRecognitionRelation node,

node.getPatternSearchMode().ifPresent(patternSearchMode ->
append(indent + 1, patternSearchMode.getMode().name())
.append("\n"));
.append("\n"));

append(indent + 1, "PATTERN (")
.append(formatPattern(node.getPattern()))
Expand Down Expand Up @@ -1462,9 +1462,9 @@ protected Void visitInsert(Insert node, Integer indent)
.append(formatName(node.getTarget()));

node.getColumns().ifPresent(columns -> builder
.append(" (")
.append(Joiner.on(", ").join(columns))
.append(")"));
.append(" (")
.append(Joiner.on(", ").join(columns))
.append(")"));

builder.append("\n");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ public Node visitExtract(SqlBaseParser.ExtractContext context)

/**
* Returns the corresponding {@link FunctionCall} for the `LISTAGG` primary expression.
*
* <p>
* Although the syntax tree should represent the structure of the original parsed query
* as closely as possible and any semantic interpretation should be part of the
* analysis/planning phase, in case of `LISTAGG` aggregation function it is more pragmatic
Expand Down