taiyang-li opened a new issue, #9055:
URL: https://github.com/apache/incubator-gluten/issues/9055

   ### Backend
   
   CH (ClickHouse)
   
   ### Bug description
   
   ``` sql 
   CREATE TABLE sales (
     product_id STRING,
     quantity INT
   ) PARTITIONED BY (year STRING)
   ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'
   STORED AS TEXTFILE;
   
   INSERT INTO sales PARTITION(year='%s')
   SELECT 'prod1', 100;
   
   INSERT INTO sales PARTITION(year='%25s')
   SELECT 'prod1', 100;
   ```
   
   gluten 
   ``` sql 
   0: jdbc:hive2://localhost:10000/> select input_file_name() from sales;   
   +--------------------+
   | input_file_name()  |
   +--------------------+
   |                    |
   |                    |
   +--------------------+
   2 rows selected (0.228 seconds)
   
   ``` sql 
   vanilla
   ``` sql 
   0: jdbc:hive2://localhost:10000/> select input_file_name() from sales;  
   +----------------------------------------------------+
   |                 input_file_name()                  |
   +----------------------------------------------------+
   | 
file:/data1/liyang/cppproject/spark/spark-3.3.2-bin-hadoop3/spark-warehouse/sales/year=%25s/part-00000-fc66b1b8-3d72-4fb4-8e69-d6b4c8ce094f-c000
 |
   | 
file:/data1/liyang/cppproject/spark/spark-3.3.2-bin-hadoop3/spark-warehouse/sales/year=%2525s/part-00000-c55620e3-25c1-49cf-ad9b-2dd6d947686d-c000
 |
   +----------------------------------------------------+
   2 rows selected (0.469 seconds)
   ```
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


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