Skip to content

Commit

Permalink
[CALCITE-6705] Allow for dialect-specific unparsing for numeric literals
Browse files Browse the repository at this point in the history
  • Loading branch information
tanclary committed Nov 25, 2024
1 parent 1e6d205 commit adab94a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public boolean isExact() {
SqlWriter writer,
int leftPrec,
int rightPrec) {
writer.literal(toValue());
writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec);

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / ErrorProne (JDK 11, latest Guava)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / Linux (JDK 11, Avatica main)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / Druid Tests

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / Linux (JDK 11, Pacific/Chatham Timezone)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / Linux (JDK 21)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / Linux (JDK 17)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / Linux (JDK 8, latest Guava, America/New_York Timezone)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / Linux (JDK 23)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / Linux (JDK 8, oldest Guava, America/New_York Timezone)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)

Check failure on line 87 in core/src/main/java/org/apache/calcite/sql/SqlNumericLiteral.java

View workflow job for this annotation

GitHub Actions / macOS (JDK 21)

[Task :core:compileJava] cannot find symbol writer.getDialect().unparseNumericLiteral(writer, toValue(), leftPrec, rightPrec); ^ symbol: method unparseNumericLiteral(SqlWriter,String,int,int)
}

@Override public String toValue() {
Expand Down

0 comments on commit adab94a

Please sign in to comment.