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
When querying for records like following (shown as CSV export):
"content","created","record_url"
"ابراهيم الذيفاني
هذا من أروع الشباب جدآ ونشاطآ وعملآ
منذ العام ٢٠١١م وهو بنفس النشاط والهمه في مجاله الإعلامي والإنساني والحقوقي.
هذا هو الصخره التي تتحطم عليها عيون الحاسدين
كم تعرض لحملات تشويه وتشهير حتى على المستوى الشخصي من ناس أمراض وحاسدين وحاقدين.
نفتخر بتألقك يا إبراهيم ومزيدآ من التقدم والإزدهار","1593891864000","https://some.url"
the result gets split on new line char and the result object looks like following:
{
"Items": [
{
"content": "هذا من أروع الشباب جدآ ونشاطآ وعملآ"
},
{
"content": "منذ العام ٢٠١١م وهو بنفس النشاط والهمه في مجاله الإعلامي والإنساني والحقوقي."
},
{
"content": "هذا هو الصخره التي تتحطم عليها عيون الحاسدين"
},
{
"content": "كم تعرض لحملات تشويه وتشهير حتى على المستوى الشخصي من ناس أمراض وحاسدين وحاقدين."
},
{
"content": "نفتخر بتألقك يا إبراهيم ومزيدآ من التقدم والإزدهار\"",
"created": "1593891864000",
"record_url": "https://some.url"
}
],
"EngineExecutionTimeInMillis": 4155,
"DataScannedInBytes": 801028163,
"TotalExecutionTimeInMillis": 4320,
"QueryQueueTimeInMillis": 120,
"ServiceProcessingTimeInMillis": 45,
"DataScannedInMB": 764,
"QueryCostInUSD": 0.003642752,
"Count": 5,
"QueryExecutionId": "90ed2b0a-b1c9-4c37-a27c-c42aa7ab9034",
"S3Location": "s3://some-bucket/90ed2b0a-b1c9-4c37-a27c-c42aa7ab9034.csv"
}
Seen in athena-express v6.0.1.
The text was updated successfully, but these errors were encountered:
This is Athena's 'fault'. The default table creation settings use \n (newline) as the line termination character. You can set LINES TERMINATED BY when creating a table (example, docs)
Regardless of line termination char, the same char can appear in any of values. In case mentioned above a new-line char is part of the content column and readLine() cannot be used to parse such file. Parser should handle such values. For example the https://www.npmjs.com/package/csv-reader handles it well.
When querying for records like following (shown as CSV export):
the result gets split on new line char and the result object looks like following:
Seen in athena-express v6.0.1.
The text was updated successfully, but these errors were encountered: