liunaijie opened a new issue, #10479:
URL: https://github.com/apache/seatunnel/issues/10479

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   https://seatunnel.apache.org/docs/2.3.12/transform-v2/sql#query-string
   
   In SQL Transform, we can add some filter in the query, like 
   ```
   select * from dual where id = 1 and name = 'tom'
   ```
   
   But I find it not support the boolean type field, eg
   ```
   select * from dual where id = 1 and name = 'tom' and is_deleted = false
   ```
   
   then got exception 
   
   
   <img width="973" height="370" alt="Image" 
src="https://github.com/user-attachments/assets/9e89440e-7abe-4eab-82da-f0a910aa2c53";
 />
   
   ### SeaTunnel Version
   
   dev
   
   ### SeaTunnel Config
   
   ```conf
   transform {
     Sql {
       plugin_input = "fake"
       plugin_output = "fake1"
       query = "select * from dual where id = 1 and name = 'tom' and is_deleted 
= false"
     }
   }
   ```
   
   ### Running Command
   
   ```shell
   n/a
   ```
   
   ### Error Exception
   
   ```log
   java.lang.IllegalArgumentException: can't find field [true]
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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