pingcap / tispark

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

select查询语句中where条件为主键字段时,无法查出数据 #2738

Closed Leon-cn closed 11 months ago

Leon-cn commented 11 months ago

example: table A, index: name, txn_date select * from A where name = 'sss' A表中存在name为sss的数据,但通过tispark使用spark sql时上述sql无法查出数据。

shiyuhang0 commented 11 months ago

which version of tispark and tidb do you use

lizhenhuan commented 11 months ago

spark3.2.3+tispark-assembly-3.2_2.12-3.1.2+scala2.12.15

shiyuhang0 commented 11 months ago

can you update TiSpark version to 3.1.3 to have a try? I think this bug has been fixed in https://github.com/pingcap/tispark/pull/2665 and release in v3.1.3

Leon-cn commented 11 months ago

can you update TiSpark version to 3.1.3 to have a try? I think this bug has been fixed in #2665 and release in v3.1.3

v3.1.3 is right

shiyuhang0 commented 11 months ago

v3.1.4 has been released. I think this issue can be closed. reopen it if you have any other questions