Merge pull request #37646 from yahonda/diag_oracle_enhanced_1943

Address `no implicit conversion of Arel::Attributes::Attribute into String`
This commit is contained in:
Ryuta Kamizono 2019-11-06 17:15:54 +09:00 committed by GitHub
commit 803c6ba7b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -104,7 +104,7 @@ def order_hacks(o)
return o if o.orders.empty? return o if o.orders.empty?
return o unless o.cores.any? do |core| return o unless o.cores.any? do |core|
core.projections.any? do |projection| core.projections.any? do |projection|
/FIRST_VALUE/.match?(projection) /FIRST_VALUE/ === projection
end end
end end
# Previous version with join and split broke ORDER BY clause # Previous version with join and split broke ORDER BY clause