You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, without a file, I cannot test. Can you produce a sample file that is erroring for you, and share it? So I can reproduce the error. You can email it to [email protected] if you prefer.
Issue Description
privateIp :- FE_Url
Description of the Issue:
We created a Parquet/CSV file from SQL Server. While inserting the data into Starrocks, we are encountering an error.
SQL table structure
id | productid | productName|
1 | 42 | Cookie |
2 | 43 | Ice cream, Frozen Desert|
CSV file structure:
1,42,Cookie
2,43,"Ice cream, Frozen Desert"
Sling version 1.2.11
Operating System linux
Replication Configuration:
Command Which i using to insert data into the starrocks
`#!/bin/bash
Define the log file path
LOGFILE="/opt/sling/slingDataTranfserlog_19_06_24.log"
Iterate over each .csv file in the directory
for file in /opt/sling/csvnew/part.01.0460.csv; do
echo "Uploading $file..." >> $LOGFILE 2>&1
Use curl to upload the file and capture the response
response=$(curl --location-trusted -u 'user:password'
-H "Expect: 100-continue"
-H "column_separator: ,"
-H "columns: id,product,productName"
-H "skip_header: 1"
-T "$file"
-X PUT
http://privateIP:8030/api/DatabaseName/TableName/_stream_load 2>&1)
Log the response
echo "$response" >> $LOGFILE 2>&1
done`
streams: Stream
-d
):The text was updated successfully, but these errors were encountered: