Abacn commented on issue #24415:
URL: https://github.com/apache/beam/issues/24415#issuecomment-1334778652

   Update: after #24414 it is found the issue is
   ```
   No NameResolverProviders found via ServiceLoader, including for DNS. This is 
probably due to a broken build.
   If using ProGuard, check your configuration Exception in thread "main" 
java.lang.IllegalArgumentException:
   Cannot find a matching Calcite SqlTypeName for Beam logical type: 
beam:logical_type:micros_instant:v1 at
   
org.apache.beam.sdk.extensions.sql.impl.utils.CalciteUtils.toSqlTypeName(CalciteUtils.java:206)
 at
   
org.apache.beam.sdk.extensions.sql.impl.utils.CalciteUtils.toRelDataType(CalciteUtils.java:319)
 at
   
org.apache.beam.sdk.extensions.sql.impl.utils.CalciteUtils.toRelDataType(CalciteUtils.java:326)
 at
   
org.apache.beam.sdk.extensions.sql.impl.utils.CalciteUtils.lambda$toCalciteRowType$0(CalciteUtils.java:294)
   ```
   culprit is likely #23969. Previously AvroUtils.toFieldType will reduce to 
its base type INT64, as it is an unsupported logical type backed by LONG. Now 
AvroUtils support TimestampMicros explicitly and returns beam logical type 
SqlTypes.TIMESTAMP (micros_instant), but throughout Beam SQL codebase 
SqlTypes.TIMESTAMP is not supported.
   
   Need a partial rollback of #23969


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to