当前位置:网站首页>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 :
边栏推荐
- I'd like to ask you, where can I open an account in Foshan? Is it safe to open a mobile account?
- Data recovery software easyrecovery15 Download
- Pytoch viewing model parameter quantity and calculation quantity
- How to execute a query SQL
- @Component use cases
- QQ was stolen? The reason is
- "As a service", the inevitable choice of enterprise digital transformation
- XSS challenge (1-5) more detailed answers
- 【Redis 系列】redis 学习十六,redis 字典(map) 及其核心编码结构
- Alipay certificate mode payment interface
猜你喜欢

About the problems encountered when using the timer class to stop with a button (why does the QPushButton (for the first time) need to be clicked twice to respond?)

Initial attack and defense world Misc

2021 geek challenge Web
![[Title brushing] coco, who likes bananas](/img/66/5646ac7e644025ccaee7c17f62ce17.png)
[Title brushing] coco, who likes bananas

Deep understanding Net (2) kernel mode 2 Kernel mode construct semaphone

Att & CK red team evaluation field (I)

Getting started with shell Basics

Notes on reverse learning in the first week of winter vacation

Introduction to reverse commissioning - VA and RVA conversion in PE 04/07

提权扫描工具
随机推荐
Alipay certificate mode payment interface
Advanced usage of go language for loop break and continue
Google Earth engine (GEE) -- converts string to number and applies it to time search (ee.date.fromymd)
C language & the difference between the address pointed to and the address pointed to by the pointer
Jetpack compose for perfect screen fit
我想问一下招商证券怎么开户?通过链接办理股票开户安全吗
The first dark spring cup dnuictf
想请教一下,我在佛山,到哪里开户比较好?手机开户是安全么?
This editor will open source soon!
Meaning of while (~scanf ("%d%d", & A, & B))
[scientific research data processing] [practice] frequency analysis chart of category variables, distribution chart of numerical variables and normality test (including lognormal)
【科学文献计量】外文文献及中文文献关键词的挖掘与可视化
Fastcgi CGI shallow understanding
数据恢复软件EasyRecovery15下载
I want to ask how to open an account at China Merchants Securities? Is it safe to open a stock account through the link
How to execute a query SQL
Introduction to reverse commissioning - VA and RVA conversion in PE 04/07
Embedded development: five C features that may no longer be prohibited
Notes on reverse learning in the first week of winter vacation
PHP excel export function encapsulation (based on phpexcel class)