Anyone out there using MapD with Ruby (via Thrift)? I generated the Ruby classes from the mapd.thrift IDL file (thrift --gen rb mapd.thrift) and found that the “mapd_types.rb” file it generated has types with circular references, and Ruby just can’t handle it.
2.3.3 :002 > require './app/models/map_d/mapd_types' NameError: uninitialized constant TDatum Did you mean? TDatumVal from app/models/map_d/mapd_types.rb:80:in `<class:TDatumVal>'
If I change the order so that TDatum is defined first, we run into a similar problem where TDatumVal is now undefined. There may be other circular references in this file, but this is the first one I tripped on.
Is this a solved problem, or are we breaking new ground here?