当前位置:网站首页>写shell脚本报错总结
写shell脚本报错总结
2022-06-25 04:01:00 【默主归沙】
1、shell脚本中执行doris指令报错
^ Encountered: IDENTIFIER
原因:就是linux系统的文件格式是unix,而windows是dos,就是格式不对应。
建议:
1)下载vscode,下载shell的插件,把结尾的字符改成lf。如果shell是在md文件先在vscode里面核对有没有格式错误,再去linux里面跑。
2)直接在linux里面敲shell脚本
或者 :set ff=unix
2、doris 的加载总是加载不了。
就是我这边语句有一个清空表结构,然后再加载数据。但是没加载到。
清空表结构的语句单独放一个shell,创建表结构的语句放一个shell。
边栏推荐
- Can Navicat directly operate the Android database SQLite
- Unit test coverage
- 什么是持久化?redis 持久化中的RDB和AOF是什么?
- LabVIEW development gas regulator
- GBASE 8s活锁、死锁问题的解决
- 深度学习——几种学习类型
- Leetcode points to the leetcode road of offering II 091 house painting [dynamic planning] heroding
- UCLA | 用于黑盒优化的生成式预训练
- Lecture record: data processing methods and applications of various spatial geodetic techniques
- Smart contract learning materials
猜你喜欢
冰冰学习笔记:循环队列的实现
js的arguments
深度学习——几种学习类型
小白学习MySQL - 统计的'投机取巧'
Cnpm: unable to load file c:\users\administrator\appdata\roaming\npm\cnpm PS1 because running scripts is prohibited on this system.
CTF_ Web:8-bit controllable character getshell
简单的恶意样本行文分析-入门篇
English Grammar - pronunciation rules
Failed to install redis interface
Read lsd-slam: large scale direct monolithic slam
随机推荐
What is persistence? What are RDB and AOF in redis persistence?
SQL injection details
A detailed summary of TCP connection triple handshake
Record of the 25th week
What is data persistence?
PHP encapsulates curl to send get and post request methods, and uses
What is the storage engine and the three common database storage engines for MySQL
js中的concat()
GBASE 8s 总体架构
EasyRecovery15非常好用的电脑数据恢复软件
Laravel document sorting 3. CSRF protection
如何筛选出和产品相关的词,精准排除掉无效词
IntStream API介绍
Gbase 8s memory management
L'épée leetcode fait référence au chemin leetcode de l'offre II 091 pour peindre la maison [planification dynamique] heroding
单元测试覆盖率
GbASE 8s中的Blob 页(Blobspace page)
GBASE 8s存储过程执行和删除
LabVIEW开发气体调节器
Coinlist how to operate the middle lot number security tutorial