-
Notifications
You must be signed in to change notification settings - Fork 752
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
streaming_load just lost first 'N' #6353
Labels
Comments
➜ ~ sudo curl -s -u root: -XPUT "http://localhost:8000/v1/streaming_load" -H 'insert_sql: insert into t format CSV' -H 'skip_header:0' -F "upload=@./test.csv"
Password:
{"id":"d420e070-6fa4-4d6c-a7ea-903de96e8bd9","state":"SUCCESS","stats":{"rows":3,"bytes":42},"error":null}%
➜ ~ cat test.csv
NONE
NNNN
N1
mysql> select * from t;
+------+
| c |
+------+
| NONE |
| NNNN |
| N1 |
+------+
3 rows in set (0.03 sec)
Read 3 rows, 42.00 B in 0.003 sec., 864.65 rows/sec., 11.82 KiB/sec. Update: when the field is nullable, I met the bug.
|
This is a terrible bug :/ |
ignore_insensitive_bytes("null") will eat the matched bytes , so 'n' is eaten. We should use |
already find a way to fix it,I will continue tomorrow morning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The text was updated successfully, but these errors were encountered: