Skip to content

Malformed response #43

Open
Open
@kipliklotrika

Description

@kipliklotrika

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions