Skip to content

Fix StringLastAggregatorFactory equals/toString#14907

Merged
soumyava merged 15 commits intoapache:masterfrom
kgyrtkirk:REQ-6287-latestby
Sep 8, 2023
Merged

Fix StringLastAggregatorFactory equals/toString#14907
soumyava merged 15 commits intoapache:masterfrom
kgyrtkirk:REQ-6287-latestby

Conversation

@kgyrtkirk
Copy link
Member

In the StringLastAggregatorFactory class; equals / toString were not accounting for the timeColumn field.

@kgyrtkirk kgyrtkirk marked this pull request as ready for review August 28, 2023 06:18
@@ -302,6 +303,7 @@ public String toString()
"fieldName='" + fieldName + '\'' +
", name='" + name + '\'' +
", maxStringBytes=" + maxStringBytes +
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
", maxStringBytes=" + maxStringBytes +
", maxStringBytes=" + maxStringBytes + '\'' +

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we don't necessarily need to quote this; as its an integer
I see other places where the same value is shown in toString and its not quoted there
but in case we do; we should quote it from both sides

Copy link
Contributor

Choose a reason for hiding this comment

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

Blahh that's an integer, I'll merge this

@soumyava soumyava merged commit 699893b into apache:master Sep 8, 2023
@LakshSingla LakshSingla added this to the 28.0 milestone Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants