[ 
https://issues.apache.org/jira/browse/BEAM-9776?focusedWorklogId=429516&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-429516
 ]

ASF GitHub Bot logged work on BEAM-9776:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/May/20 15:12
            Start Date: 01/May/20 15:12
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on pull request #11588:
URL: https://github.com/apache/beam/pull/11588#issuecomment-622427418


   @apilloud any pitfalls here?


----------------------------------------------------------------
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.

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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 429516)
    Time Spent: 20m  (was: 10m)

> Beam SQL shell doesn't support creating an external table pointing to GCS, 
> i.e., "gs://..."
> -------------------------------------------------------------------------------------------
>
>                 Key: BEAM-9776
>                 URL: https://issues.apache.org/jira/browse/BEAM-9776
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: David Sabater
>            Assignee: David Sabater
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> We are getting the below exception when creating an [external 
> table|https://beam.apache.org/documentation/dsls/sql/extensions/create-external-table/#text]
>  pointing to GCS from the [Beam SQL 
> shell|https://beam.apache.org/documentation/dsls/sql/shell/]:
> Caused by: java.lang.IllegalArgumentException: No filesystem found for scheme 
> gs
> It appears the interface 
> [FileSystemRegistrar|https://beam.apache.org/releases/javadoc/2.19.0/index.html?org/apache/beam/sdk/io/FileSystemRegistrar.html]
>  is not called before Calcite checks the contents of the file from the method:
> org.apache.beam.sdk.extensions.sql.impl.BeamCalciteTable.getStatistic
> Hence getting the exception as the GCS filesystem registrar is not 
> initialised as part of the pipeline creation.
> We should change the logic to create the pipeline and being able to register 
> GCS before making these calls to validate the SQL statements.
>  
> Kind regards.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to