manishmalhotrawork opened a new issue #121: IcebergSource cannot load data from 
hiveTable
URL: https://github.com/apache/incubator-iceberg/issues/121
 
 
   While testing HiveTable read using Iceberg DataSource API, looks like, its 
not possible. 
   
   read like this: 
   `sparkSession.read().format("iceberg").load("db.tbl")`
   
   as the findTable(...) method in IcebergSource uses HadoopTables:
   
    ```
    protected Table findTable(DataSourceOptions options, Configuration conf) {
       Optional<String> location = options.get("path");
       Preconditions.checkArgument(location.isPresent(),
           "Cannot open table without a location: path is not set");
   
       HadoopTables tables = new HadoopTables(conf);
   
       return tables.load(location.get());
     }
   ```
   May be Im missing something and didnt understand the flow.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to