pingcap / tispark

TiSpark is built for running Apache Spark on top of TiDB/TiKV
Apache License 2.0
880 stars 244 forks source link

[BUG] Read from range column partition table error #2638

Closed shiyuhang0 closed 1 year ago

shiyuhang0 commented 1 year ago

Describe the bug

Read from range column partition table error.

What did you do

  1. DDL

    create table range_column_test (id varchar(10)) partition by RANGE COLUMNS(`id`) (PARTITION `p1` VALUES LESS THAN ('CN001'),PARTITION `p2` VALUES LESS THAN ('CN002'))
  2. use tispark to read

select * from range_column_test where id = 'CN001'
  1. error occurs image

Spark and TiSpark version info TiSpark : <= v3.2.0