当前位置:网站首页>spark 避免对一个列重复解析json
spark 避免对一个列重复解析json
2022-06-10 06:29:00 【健忘主义】
table(s"${bakdb}.${body_dossier_930_bak}")
// .withColumn("dossier_id",get_json_object($"result","$.dossierId"))
// .withColumn("create_time",get_json_object($"result","$.createTime"))
.select(
$"*"
,json_tuple($"result","dossierId","createTime").as(Seq("dossier_id","create_time"))
)使用 json_tuple
边栏推荐
- 深度解析智能运维下告警关联频繁项集挖掘算法原理
- 解锁 tRPC 高性能密码:网络方案简介!
- Write the data in the JSON file to the database
- C#中装箱和拆箱
- MySQL数据库的基本使用
- Online chat -- Introduction and implementation of websocket
- SQL practice: SQL window functions and real problems
- WireShark抓包分析
- 基于对应点关系的——两片点云剔除(保留)重复点
- Jerry's aicmd_ SET_ BT_ Addr command format [chapter]
猜你喜欢

Leetcode-473. Match to square: a 4x15 queen problem (actually a backtracking method)

PyTorch 入门:训练一个深度神经网络(DNN)

SQL practice: SQL foundation and execution sequence

QT---创建对话框3:形状可变对话框的实现

Teacher lihongyi's notes on machine learning -4.2 batch normalization

What is the 8b/10b code?

LabVIEW host computer and factory MES docking case communication program, supporting server and client

ArcGIS application (19) ArcGIS statistical analysis and calculation of maximum, minimum and average values of multi band images

Idea remote debugging code

Stm32f1 and stm32subeide quick start - overview of interrupts, NVIC and exti
随机推荐
Solve the problem of npcap installation failure in Wireshark
Teacher lihongyi's notes on machine learning -4.2 batch normalization
异构网络是什么?
Teacher lihongyi's notes on machine learning -4.1 self attention
Multithreaded producer and consumer model
What is ARP (address resolution protocol)?
Leetcode game 79 biweekly - complete all questions
Notes for beginners
Firefox browser settings point to proxy mode
Xshell下载安装使用简单教程
判斷進程是否有管理員權限
Déterminer si le processus a des privilèges d'administrateur
C#中装箱和拆箱
告警消息何去何从?在飞书中飞起来
SQL practice: SQL optimization problems
32-bit microcontroller
将json文件里面的数据写入数据库
Alibaba cloud OCR image recognition process
QT upper computer controls ABB in real time through EGM
Cremb Pro backend sub administrator 403 problem analysis