Skip to content

Conversation

@jamesnakagawa
Copy link
Contributor

  • Oracle limits lists to a maximum of 1,000 items.
  • rails/rails@72fd0ba implements a new type of in operation which can be performed under certain circumstances.
  • This caused the test "OracleEnhancedAdapter eager loading should load included association with more than 1000 records" to fail with ORA-01795.
  • The solution was to implement visit_Arel_Nodes_HomogeneousIn.
  • Fixed a typo while I was at it.

- ActiveRecord version 6.1.0.alpha
- This fixes the following test failure:
  OracleEnhancedAdapter eager loading should load included association with more than 1000 records
- The solution was to implement visit_Arel_Nodes_HomogeneousIn
- See rails/rails@72fd0ba for the "homogenous in" explanation
@yahonda
Copy link
Collaborator

yahonda commented May 14, 2020

Thank you for your contribution. Going forward, it would be appreciated if you open another pull request for fixing a typo.

@yahonda yahonda merged commit 7bfdf9b into rsim:master May 14, 2020
yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Dec 15, 2020
to use `visit_Arel_Nodes_HomogeneousIn`

`visit_Arel_Nodes_HomogeneousIn` has been implemented in Rails 6.1
via rails/rails@72fd0bae594
and implemented for Oracle enhanced adapter via rsim#2013 .

Refer rsim#2008
Fix rsim#2072
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