pingcap / parser

A MySQL Compatible SQL Parser
Apache License 2.0
1.41k stars 489 forks source link

text field parsed as blob type #1430

Open shyandsy opened 1 week ago

shyandsy commented 1 week ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

create table mcar_consistent_result ( ....... verify_comment text null, ....... }

I wanna get type of each

  1. What did you expect to see?

I wanna get the type "text" for field verify_comment

  1. What did you see instead? actually I get the type "blob" for field verify_comment
image image
  1. What version of TiDB SQL Parser are you using?

github.com/pingcap/tidb/pkg/parser v0.0.0-20241113160756-97e7b5c268bd