Skip to content
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

improve writeRow logic #20

Merged
merged 2 commits into from
Mar 7, 2024
Merged

improve writeRow logic #20

merged 2 commits into from
Mar 7, 2024

Conversation

DenisCarriere
Copy link
Contributor

@DenisCarriere DenisCarriere commented Mar 7, 2024

  • improve writeRow logic
    • formatValue based on CSV rules
  • add Clickhouse CSV handling to docs
  • support DELIMITER --delimiter flag (default ",")
  • add additional reserved key values:
    • block_number
    • block
    • nanos
    • nanoseconds
    • milliseconds
    • millis
  • formatted timestamp to 2016-06-15 23:00:00 (supported by Clickhouse)
  • add applyReservedFields method
  • if timestamp exists, apply parseTimestamp logic

fixes #19

@DenisCarriere DenisCarriere changed the title add formatValue & writeRow logic improve writeRow logic Mar 7, 2024
@DenisCarriere DenisCarriere merged commit 1b8f7cb into main Mar 7, 2024
1 check passed
@DenisCarriere DenisCarriere deleted the fix/write-row branch March 7, 2024 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot parse input: expected ','
1 participant