-
Notifications
You must be signed in to change notification settings - Fork 9
decrease earliest epoch value of query xml by 3 hours query XML #415
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
base: main
Are you sure you want to change the base?
Conversation
|
please rebase |
1551c09 to
bfeceed
Compare
|
Rebased |
|
I think you also need to change it for the produced XML and spark column to have an effect |
src/main/java/com/teragrep/pth10/ast/commands/logicalstatement/TimeStatement.java
Outdated
Show resolved
Hide resolved
src/main/java/com/teragrep/pth10/ast/time/DecreasedEpochValue.java
Outdated
Show resolved
Hide resolved
51-code
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
eemhu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but should EqualsVerifier be added to pth-10 as well for hashCode tests?
yes, please add @elliVM |
src/main/java/com/teragrep/pth10/ast/time/DecreasedEpochValue.java
Outdated
Show resolved
Hide resolved
src/main/java/com/teragrep/pth10/ast/time/DecreasedEpochValue.java
Outdated
Show resolved
Hide resolved
src/main/java/com/teragrep/pth10/ast/time/DecreasedEpochValue.java
Outdated
Show resolved
Hide resolved
|
Added EqualsVerifier library and contract test. |
eemhu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
51-code
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
94ee229 to
351832d
Compare
|
Rebased and duplicate dependency removed |
| ); | ||
| final ElementNode returnValue; | ||
| if (timeQualifier.isStartTime()) { | ||
| final long decreaseValue = 3 * 60 * 60 * 1000; // decrease 3 hours from earliest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make this configurable:
dpl.pth_10.logicalstatement.TimeStatement.xmlDecreaseStartTime=true
check that all paths parts to the key are defined as this is an optional key i.e.
hasKey(dpl.pth_10.logicalstatement) && hasKey(dpl.pth_10.logicalstatement.TimeStatement) && hasKey(dpl.pth_10.logicalstatement.TimeStatement.xmlDecreaseStartTime)
ccc94ba to
2319474
Compare
|
rebased and update code, further changes required after #572 |
…dd EqualsVerifier and contract test
d509b51 to
5037b98
Compare
Workaround to decrease earliest epoch value given to query XML by 3 hours to work with pth_06 that uses helsinki timezone.