Skip to content

[BugFix] fix mod operator not be parsed correctly (#33073)

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / FE UT Report failed Oct 18, 2023 in 0s

6389 tests run, 6345 passed, 43 skipped, 1 failed.

Annotations

Check failure on line 413 in fe/fe-core/src/test/java/com/starrocks/sql/parser/ParserTest.java

See this annotation in the file changed.

@github-actions github-actions / FE UT Report

ParserTest.testModOperator

java.lang.NullPointerException
	at com.starrocks.sql.analyzer.AstToSQLBuilder$AST2SQLBuilderVisitor.visitSelect(AstToSQLBuilder.java:140)
Raw output
java.lang.NullPointerException
	at com.starrocks.sql.analyzer.AstToSQLBuilder$AST2SQLBuilderVisitor.visitSelect(AstToSQLBuilder.java:140)
	at com.starrocks.sql.analyzer.AstToSQLBuilder$AST2SQLBuilderVisitor.visitSelect(AstToSQLBuilder.java:61)
	at com.starrocks.sql.ast.SelectRelation.accept(SelectRelation.java:242)
	at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:55)
	at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:51)
	at com.starrocks.sql.analyzer.AstToStringBuilder$AST2StringBuilderVisitor.visitQueryStatement(AstToStringBuilder.java:445)
	at com.starrocks.sql.analyzer.AstToStringBuilder$AST2StringBuilderVisitor.visitQueryStatement(AstToStringBuilder.java:125)
	at com.starrocks.sql.ast.QueryStatement.accept(QueryStatement.java:56)
	at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:55)
	at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:51)
	at com.starrocks.sql.analyzer.AstToSQLBuilder.toSQL(AstToSQLBuilder.java:58)
	at com.starrocks.sql.parser.ParserTest.testModOperator(ParserTest.java:413)