-
Notifications
You must be signed in to change notification settings - Fork 11
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
Export Exasol Table into AWS S3 as Parquet format #16
Conversation
This commit only adds the ExportPath class.
- Adds ParquetWriter - Adds RowWriteSupport However, there are still some more changes needed: - Decide on decimal to int32 or int64 based on precision - Improve the import functionality with date and timestamps
This does not make sense in this case, because both when reading or writing exasol will provide correct Java type, e.g, BigDecimal if decimal with precision and scale and regular Integer or Long if int32 or int64.
….math.BigDecimal`.
S3AFileSystem somehow requires local temp directory, before uploading to S3. This currently only tested for AWS S3. I will update this for GCP or Azure if they require this filesystem when performing tests for those platforms.
An example date was: `0001-01-01`, or in general days before 1970. After writing this `0001-01-01` as a days since epoch and when reading back I was getting `0001-12-31`. The solution was to incorporate the timezone offset millis and take the *floor* of the millis per day.
Codecov Report
@@ Coverage Diff @@
## master #16 +/- ##
==========================================
- Coverage 95.17% 90.81% -4.36%
==========================================
Files 7 14 +7
Lines 145 403 +258
Branches 8 22 +14
==========================================
+ Hits 138 366 +228
- Misses 7 37 +30
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #16 +/- ##
==========================================
- Coverage 95.17% 90.81% -4.36%
==========================================
Files 7 14 +7
Lines 145 403 +258
Branches 8 22 +14
==========================================
+ Hits 138 366 +228
- Misses 7 37 +30
Continue to review full report at Codecov.
|
Adds a functionality to export Exasol tables as parquet format into AWS S3 bucket.
Should fix #14 and #15.