Balaji Varadarajan created HUDI-1496:
----------------------------------------

             Summary: Seek Error when querying MOR tables in GCP
                 Key: HUDI-1496
                 URL: https://issues.apache.org/jira/browse/HUDI-1496
             Project: Apache Hudi
          Issue Type: Bug
          Components: Common Core
            Reporter: Balaji Varadarajan


Context : [https://github.com/apache/hudi/issues/2367]

FSUtils.isGCSInputStream is not catching all the cases when reading from GCS. 
IN some cases 
([https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFileReader.java#L76),|https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFileReader.java#L76)]
 the condition in isGCSInputStream breaks

 

Instead of isGCSInputStream, we should detect GCSFileSystem by checking if the 
filesystem scheme is StorageSchemes.

 



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

Reply via email to