-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chinese doc: credit card fraud, DSW demo #3045
Chinese doc: credit card fraud, DSW demo #3045
Conversation
doc/sqlflow.org_cn/fraud-dnn.cn.md
Outdated
建表完成后,将creditcard.csv的内容导入数据表。 | ||
|
||
``` | ||
LOAD DATA LOCAL INFILE 'creditcard.csv' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
直接执行这个大概率会不成功。一些 MySQL 部署会设置 LOAD DATA
的安全设置:https://dev.mysql.com/doc/refman/8.0/en/load-data-local-security.html ,如果 creditcard.csv
在当前目录很可能不会加载成功。可以用 Python 脚本或者说明导入 csv 文件的各项配置。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好像不光是绝对路径的事情。这个路径需要在mysql client中配置貌似。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done,可以通过设置 set global local_infile = 1; 来允许本地上传
Codecov Report
@@ Coverage Diff @@
## develop #3045 +/- ##
===========================================
- Coverage 52.87% 48.89% -3.99%
===========================================
Files 216 254 +38
Lines 16590 19072 +2482
===========================================
+ Hits 8772 9325 +553
- Misses 7157 9033 +1876
- Partials 661 714 +53
Continue to review full report at Codecov.
|
6f55f98
to
c48be86
Compare
c48be86
to
99e43b8
Compare
Related to #3014