Skip to content

Comments

[CALCITE-2287] StackOverflowError from FlatList equals()#682

Closed
zhong-j-yu wants to merge 1 commit intoapache:masterfrom
zhong-j-yu:CALCITE-2287
Closed

[CALCITE-2287] StackOverflowError from FlatList equals()#682
zhong-j-yu wants to merge 1 commit intoapache:masterfrom
zhong-j-yu:CALCITE-2287

Conversation

@zhong-j-yu
Copy link

&& Objects.equals(this.t2, that.t2);
}
return o.equals(this);
return Arrays.asList(t0, t1, t2).equals(o);
Copy link
Member

@hsyuan hsyuan Apr 27, 2018

Choose a reason for hiding this comment

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

Maybe better define a static variable to store Arrays.asList(t0, t1, t2)
or check o is instance of List with the same size with this before calling equals.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks. I'll abandon this version, and hope for someone else to finish it while I'm on vacation:)

@zhong-j-yu zhong-j-yu closed this Apr 28, 2018
@zhong-j-yu zhong-j-yu deleted the CALCITE-2287 branch April 28, 2018 02:06
julianhyde pushed a commit to julianhyde/calcite that referenced this pull request May 1, 2018
julianhyde pushed a commit to julianhyde/calcite that referenced this pull request May 1, 2018
julianhyde pushed a commit to julianhyde/calcite that referenced this pull request May 1, 2018
jcamachor pushed a commit to jcamachor/calcite that referenced this pull request May 31, 2018
jamesstarr pushed a commit to jamesstarr/calcite that referenced this pull request Aug 28, 2025
Close apache#682

Change-Id: I45a792b43e73264f4e6c1e30bb9062e9dd6f0b6d
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.

2 participants