[CALCITE-6714] Cast literal to interval gives the wrong result if lit… #26
main.yml
on: push
Windows (JDK 8)
5m 48s
Windows (JDK 17)
7m 46s
Windows (JDK 21)
5m 51s
Linux (JDK 8, oldest Guava, America/New_York Timezone)
4m 40s
Linux (JDK 8, latest Guava, America/New_York Timezone)
5m 57s
Linux (JDK 11, Pacific/Chatham Timezone)
4m 28s
Linux (JDK 17)
6m 42s
Linux (JDK 21)
6m 36s
Linux (JDK 23)
4m 29s
Linux (JDK 11, Avatica main)
8m 24s
macOS (JDK 21)
17m 51s
ErrorProne (JDK 11, latest Guava)
4m 35s
CheckerFramework (JDK 11)
11m 8s
CheckerFramework (JDK 11, oldest Guava)
11m 18s
Linux (JDK 8) Slow Tests
0s
Druid Tests
7m 23s
Annotations
22 errors and 11 warnings
Linux (JDK 11, Pacific/Chatham Timezone):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Linux (JDK 11, Pacific/Chatham Timezone)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/rex/RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
-········o·=·((BigDecimal)·o).multiply(␊
-············((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
+········o·=␊
+············((BigDecimal)·o).multiply(((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Linux (JDK 23):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Linux (JDK 23)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/rex/RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
-········o·=·((BigDecimal)·o).multiply(␊
-············((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
+········o·=␊
+············((BigDecimal)·o).multiply(((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Linux (JDK 8, oldest Guava, America/New_York Timezone):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Linux (JDK 8, oldest Guava, America/New_York Timezone)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/rex/RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
-········o·=·((BigDecimal)·o).multiply(␊
-············((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
+········o·=␊
+············((BigDecimal)·o).multiply(((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Windows (JDK 8):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Windows (JDK 8)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core\src\main\java\org\apache\calcite\rex\RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
- o = ((BigDecimal) o).multiply(\r\n
- ((IntervalSqlType) type).getIntervalQualifier().getUnit().multiplier);\r\n
+ o =\r\n
+ ((BigDecimal) o).multiply(((IntervalSqlType) type).getIntervalQualifier().getUnit().multiplier);\r\n
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Windows (JDK 21):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Windows (JDK 21)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core\src\main\java\org\apache\calcite\rex\RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
- o = ((BigDecimal) o).multiply(\r\n
- ((IntervalSqlType) type).getIntervalQualifier().getUnit().multiplier);\r\n
+ o =\r\n
+ ((BigDecimal) o).multiply(((IntervalSqlType) type).getIntervalQualifier().getUnit().multiplier);\r\n
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Linux (JDK 8, latest Guava, America/New_York Timezone):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Linux (JDK 8, latest Guava, America/New_York Timezone)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/rex/RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
-········o·=·((BigDecimal)·o).multiply(␊
-············((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
+········o·=␊
+············((BigDecimal)·o).multiply(((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Linux (JDK 21):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Linux (JDK 21)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/rex/RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
-········o·=·((BigDecimal)·o).multiply(␊
-············((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
+········o·=␊
+············((BigDecimal)·o).multiply(((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Linux (JDK 17):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Linux (JDK 17)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/rex/RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
-········o·=·((BigDecimal)·o).multiply(␊
-············((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
+········o·=␊
+············((BigDecimal)·o).multiply(((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Windows (JDK 17):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Windows (JDK 17)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core\src\main\java\org\apache\calcite\rex\RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
- o = ((BigDecimal) o).multiply(\r\n
- ((IntervalSqlType) type).getIntervalQualifier().getUnit().multiplier);\r\n
+ o =\r\n
+ ((BigDecimal) o).multiply(((IntervalSqlType) type).getIntervalQualifier().getUnit().multiplier);\r\n
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Linux (JDK 11, Avatica main):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Linux (JDK 11, Avatica main)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/rex/RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
-········o·=·((BigDecimal)·o).multiply(␊
-············((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
+········o·=␊
+············((BigDecimal)·o).multiply(((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
macOS (JDK 21):
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
macOS (JDK 21)
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/rex/RexBuilder.java
@@ -1341,8 +1341,8 @@
break;
assert o instanceof BigDecimal;
if (type instanceof IntervalSqlType) {
-········o·=·((BigDecimal)·o).multiply(␊
-············((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
+········o·=␊
+············((BigDecimal)·o).multiply(((IntervalSqlType)·type).getIntervalQualifier().getUnit().multiplier);␊
typeName = type.getSqlTypeName();
} else if (type.getScale() != RelDataType.SCALE_NOT_SPECIFIED) {
o = ((BigDecimal) o).setScale(type.getScale(), typeFactory.getTypeSystem().roundingMode());
Run './gradlew autostyleApply' to fix the violations.
|
Linux (JDK 11, Pacific/Chatham Timezone)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ErrorProne (JDK 11, latest Guava)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 8, oldest Guava, America/New_York Timezone)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 8, latest Guava, America/New_York Timezone)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Druid Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linux (JDK 11, Avatica main)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
CheckerFramework (JDK 11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
CheckerFramework (JDK 11, oldest Guava)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|