LiebingYu opened a new issue, #1815:
URL: https://github.com/apache/fluss/issues/1815

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Fluss version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   After #489 is finished, Fluss support non-string data type as partition 
keys. But when enable lake table, I got the wrong value of non-string partition 
key int the lake table. For example:
   ```sql
   CREATE TABLE fluss_t1 (
       a DATE,
       b STRING 
   ) PARTITIONED BY (a, b)
   WITH (
     'bucket.num' = '1',
     'table.datalake.enabled' = 'true',
     'table.datalake.freshness' = '500ms',
     'lookup.max-retries' = '3'
   );
   
   INSERT INTO fluss_t1 VALUES (DATE '2025-10-15', 'XXA');
   ```
   
   When run `SELECT * FROM fluss_t1$lake;`, we will get:
   ```
   
+----+------------+--------------------------------+-------------+----------------------+----------------------------+
   | op |          a |                              b |    __bucket |           
  __offset |                __timestamp |
   
+----+------------+--------------------------------+-------------+----------------------+----------------------------+
   | +I | 1970-01-11 |                            XXA |           0 |           
         0 | 2025-10-15 18:58:02.835000 |
   ```
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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

Reply via email to