question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add table properties for athena create csv

See original GitHub issue

Is your idea related to a problem? Please describe. I am trying to automate my athena table creation for multiple environments. CSV are loaded into s3 unedited. When I create the table with the UI it detects a header row. With this package it doesnt.

Describe the solution you’d like Add TBLPROPERTIES like skip.header.line.count"="1 to create_csv_table

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kylepiercecommented, Jul 28, 2020

Wow thanks! Works as a test.

1reaction
kylepiercecommented, Jul 28, 2020

data refrences a dict

{ "name": "varchar(100)", "clicks": "bigint", "sum": "double" }

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenCSVSerDe for processing CSV - Amazon Athena
Use a CREATE TABLE statement to create an Athena table based on the data. Reference the OpenCSVSerDe class after ROW FORMAT SERDE and...
Read more >
Create external table from csv file in AWS Athena
I am trying to create an external table in AWS Athena from a csv file that is stored in my S3. The csv...
Read more >
Add table properties for athena create csv · Issue #338
I am trying to automate my athena table creation for multiple environments. CSV are loaded into s3 unedited. When I create the table...
Read more >
LazySimpleSerDe for CSV, TSV, and custom-delimited files
LazySimpleSerDe for CSV, TSV, and custom-delimited files ... Use the CREATE TABLE statement to create an Athena table from the underlying data in...
Read more >
Working with CSV - The Athena Guide
If you don't specify anything else when creating an Athena table you get a serde called LazySimpleSerDe , which was made for delimited...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found