You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
16: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:6:in `deparse'
15: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:6:in `map'
14: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:7:in `block in deparse'
13: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:18:in `from'
12: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:130:in `deparse_item'
11: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:200:in `deparse_raw_stmt'
10: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:138:in `deparse_item'
9: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:784:in `deparse_select'
8: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:784:in `map'
7: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:785:in `block in deparse_select'
6: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:134:in `deparse_item'
5: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:297:in `deparse_restarget'
4: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:148:in `deparse_item'
3: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:923:in `deparse_typecast'
2: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:55:in `deparse_item'
1: from /home/user/.gem/ruby/2.6.0/gems/pg_query-1.1.0/lib/pg_query/deparse.rb:226:in `deparse_a_arrayexp'
NoMethodError (undefined method `map' for nil:NilClass)
I think this definitely is a bug and should be fixed because something is nil, that certainly shouldn't be null. (bad bad guy, dynamic typing in ruby :-) )
The text was updated successfully, but these errors were encountered:
Also I found another bug:
When trying to deparse:
I get an the following error:
I think this definitely is a bug and should be fixed because something is nil, that certainly shouldn't be null. (bad bad guy, dynamic typing in ruby :-) )
The text was updated successfully, but these errors were encountered: