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

use only table_prefix as table name in case no valid date pattern is used #48

Closed
wants to merge 1 commit into from
Closed

use only table_prefix as table name in case no valid date pattern is used #48

wants to merge 1 commit into from

Conversation

alepuccetti
Copy link

@alepuccetti alepuccetti commented Sep 12, 2018

Before this patch, in case date_pattern = "" than the table name would
have been <table_prefix><table_separator> insteadd of just <table_prefix>.

Example

config:

  • table_prefix => 'my_table'
  • table_separator => '_'
  • date_pattern => ""

result

  • table_name = 'my_table_'

Now the table_name will be 'my_table'.

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

Fixes #43

NOTE: This changes the table generation and addressing so it might be a breaking change.

@alepuccetti
Copy link
Author

Can someone test on the community test this?

@krisnaru
Copy link

I can test the fix-table-name on my environment. Is this ready for everyone?

@alepuccetti
Copy link
Author

We signed the CLA

Copy link

@krisnaru krisnaru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karenzone
Copy link
Contributor

cla/check

@karenzone
Copy link
Contributor

jenkins test this please

@karenzone
Copy link
Contributor

@alepuccetti The CLA check is still failing. Sometimes this happens when the email address for the commit and the email address you used to sign the CLA are different. Please take a look and let me know.

Thanks! We’re looking forward to checking out your contribution.

…used

Before this patch, in case date_pattern = "" than the table name would
have been `<table_prefix><table_separator>` insteadd of just `<table_prefix>`.

Example

config:
- table_prefix => 'my_table'
- table_separator => '_'
- date_pattern => ""

result
- table_name = 'my_table_'

Now the table_name will be 'my_table'.
@cla-checker-service
Copy link

cla-checker-service bot commented Sep 17, 2020

💚 CLA has been signed

@alepuccetti
Copy link
Author

@karenzone I re-signed with my personal email address the contribution agreement and rebase the branch.

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.

Table name ends with the delimiter when date_pattern => ""
3 participants