dcoliversun opened a new issue, #6714:
URL: https://github.com/apache/incubator-gluten/issues/6714

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   Based gluten 468000c43efe7d54910431c7268768c4cb2d0410, when I test with 
velox to write data into s3 external table, I get the error as following:
   ```plain
   ression: pool != nullptr , Source: RUNTIME, ErrorCode: INVALID_STATE
   24/07/30 09:48:38 INFO CodecConfig: Compression: SNAPPY
   E20240730 09:48:38.468577 93 Exceptions.h:67] Line: 
/gluten/ep/build-velox/build/velox_ep/velox/connectors/hive/storage_adapters/s3fs/S3FileSystem.cpp:229,
 Function:Impl, Expression: pool != nullptr , Source: RUNTIME, ErrorCode: 
INVALID_STATE
   24/07/30 09:48:38 ERROR Utils: Aborting task
   java.lang.RuntimeException: Exception: VeloxRuntimeError
   Error Source: RUNTIME
   Error Code: INVALID_STATE
   Retriable: False
   Expression: pool != nullptr
   Function: Impl
   File: 
/gluten/ep/build-velox/build/velox_ep/velox/connectors/hive/storage_adapters/s3fs/S3FileSystem.cpp
   Line: 229
   Stack trace:
   # 0 _ZN8facebook5velox7process10StackTraceC1Ei
   # 1 
_ZN8facebook5velox14VeloxExceptionC1EPKcmS3_St17basic_string_viewIcSt11char_traitsIcEES7_S7_S7_bNS1_4TypeES7_
   # 2 
_ZN8facebook5velox6detail14veloxCheckFailINS0_17VeloxRuntimeErrorENS1_22CompileTimeEmptyStringEEEvRKNS1_18VeloxCheckFailArgsET0_
   # 3 
_ZN8facebook5velox11filesystems11S3WriteFile4ImplC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS0_21MultiRoleArnsS3ClientEPNS0_6memory10MemoryPoolE
   # 4 
_ZN8facebook5velox11filesystems11S3WriteFileC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS0_21MultiRoleArnsS3ClientEPNS0_6memory10MemoryPoolE
   # 5 
_ZN8facebook5velox11filesystems12S3FileSystem16openFileForWriteESt17basic_string_viewIcSt11char_traitsIcEERKNS1_11FileOptionsE
   # 6 
_ZN8facebook5velox11filesystems24s3WriteFileSinkGeneratorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_4dwio6common8FileSink7OptionsE
   # 7 
_ZNSt17_Function_handlerIFSt10unique_ptrIN8facebook5velox4dwio6common8FileSinkESt14default_deleteIS5_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS5_7OptionsEEPSK_E9_M_invokeERKSt9_Any_dataSG_SJ_
   # 8 
_ZN8facebook5velox4dwio6common8FileSink6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS3_7OptionsE
   # 9 
_ZN6gluten24VeloxParquetDatasourceS38initSinkERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_St4hashIS7_ESt8equal_toIS7_ESaISt4pairIKS7_S7_EEE
   # 10 
_ZN6gluten22VeloxParquetDatasource4initERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_St4hashIS7_ESt8equal_toIS7_ESaISt4pairIKS7_S7_EEE
   # 11 
Java_org_apache_gluten_datasource_DatasourceJniWrapper_nativeInitDatasource
   # 12 0x00007ff08d018767
   ```
   
   Spark sql is simple:  
   ```sql
   create table tbl (a INT, b INT) using parquet location 
's3a://<bucket>/<db>/<tbl>'
   insert overwrite table values(1, 2);
   ```
   
   ### Spark version
   
   Spark-3.3.x
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   _No response_


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


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

Reply via email to