Skip to content
Merged
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
4 changes: 1 addition & 3 deletions pkg/parser/external/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ func NewParser(dialect string) (Parser, error) {
return newJavaParser("hive"), nil
case "calcite":
return newJavaParser("calcite"), nil
case "maxcompute":
case "maxcompute", "alisa":
// maxcompute is PHONY parser, java will
// chose odps or calcite according to which
// exists in classpath
return newJavaParser("maxcompute"), nil
case "alisa":
return newJavaParser("odps"), nil
default:
return nil, fmt.Errorf("unrecognized dialect %s", dialect)
}
Expand Down