当前位置:网站首页>NoViableAltException([email protected][])
NoViableAltException([email protected][])
2022-06-30 14:24:00 【mizuhokaga】
One 、 problem
Use from hive The lexical parser stripped from the source code parses sql Find out
select u.name, o.orderid from order o join user u on o.uid = u.uid;
A simple one sql Report errors ,NoViableAltException([email protected][]). Finally, I found that the problem was order and user name .
Two 、 solve
because order and user yes hive Reserved keywords for ( Keyword complete reference here
- Change the table name to something else such as orderr、userr
- Use inverted quotation marks ` modification
String sj = “select u.name,o.orderid from `user` u join `order` o on o.id=u.id;”;
The normal :
边栏推荐
- Pytoch viewing model parameter quantity and calculation quantity
- On simple code crawling Youdao translation_ 0's problem (to be solved)
- Begin End use the pit encountered
- Geoffreyhinton: my 50 years of in-depth study and Research on mental skills
- Flat shading with unity
- Initial attack and defense world Misc
- Summary of FTP network protocol learning
- I'd like to ask you, where can I open an account in Foshan? Is it safe to open a mobile account?
- Apache Doris comparison optimization Encyclopedia
- [observation] as the intelligent industry accelerates, why should AI computing power take the lead?
猜你喜欢

Tencent two sides: @bean and @component are used on the same class. What happens?

“即服务”,企业数字化转型的必然选择

重磅:国产IDE发布,由阿里研发,完全开源!

The first dark spring cup dnuictf

【BUUCTF】 EasySql

Laravel configures passport and returns token using JWT

I love network security for new recruitment assessment

Att & CK red team evaluation field (I)

Mysql database foundation: stored procedures and functions

Initial attack and defense world Misc
随机推荐
Google Earth Engine(GEE)——GHSL:全球人类住区层,建成网格 1975-1990-2000-2015 (P2016) 数据集
MFQE 2.0: A New Approach for Multi-FrameQuality Enhancement on Compressed Video
Laravel8 custom log directory, rename
Larave8 JWT API expiration custom error return
Problem: wechat developer tool visitor mode cannot use this function
Use of laravel repository mode
Upgrade composer self update
Laravel upload error
Prometheus 2.29.0 new features
Use PHP to delete the specified text content in the file
Fastcgi CGI shallow understanding
Four isolation levels of MySQL
PHP recursive multi-level classification, infinite classification
Step by step | help you easily submit Google play data security form
Pit used by go language array type
Initial attack and defense world Misc
XSS challenge (6-10) more detailed answers
DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703
C language & the difference between the address pointed to and the address pointed to by the pointer
Pytoch viewing model parameter quantity and calculation quantity