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

[Backport 2.8] Bugfix/202 transform date add date conversion #804

Merged
merged 1 commit into from
Jun 1, 2023

Commits on Jun 1, 2023

  1. Bugfix/202 transform date add date conversion (#622)

    * 202: Added format property when specifying the date histogram
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * 202: Added component responsible for building the target index mapping once the transform is being triggered.
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * 202: date_histogram considered in the case of the creating the target index for the date fields when transform is executed
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * 202: Enabled target index date field mappings if those fields are used in aggregations or as a term aggregation for defining the buckets
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * Updated code according to comments. Added targetIndexMapping when transform preview action is triggered
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * Updated schema versions
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * Addressed the comments
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * Refactored transform tests related with aggregation based on a date field.
    Updated transform preview action to consider target index mapping when using a date field. Kept formatting of the date field in target index.
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * detekt fix
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * Added zone in IT
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    * Added function for creating target index mapping that considers transform mapping json. Target date field mappings are generated after transform validation when running transform. Removed target index date field values formatting. emoved default format for date_histogram because of the rollup. Updated schema version in test.
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    
    ---------
    
    Signed-off-by: Stevan Buzejic <buzejic.stevan@gmail.com>
    (cherry picked from commit 42833b1)
    stevanbz authored and github-actions[bot] committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    8523aeb View commit details
    Browse the repository at this point in the history