Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1918

Scenarios fail because of wrong numerical types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.7
    • 3.2.8, 3.3.2
    • dotnet, test-suite
    • None

    Description

      Two scenarios currently fail for Gremlin.Net because the types returned by the server don't match the expected ones:

      • g_withSackX1_sumX_VX1X_localXoutXknowsX_barrierXnormSackXX_inXknowsX_barrier_sack expects results as double, but we receiveĀ gx:BigDecimal from the server which gets deserialized to the .NET type decimal.
      • g_withBulkXfalseX_withSackX1_sumX_V_out_barrier_sack expects results as double, but we receiveĀ g:Int32 from the server which gets deserialized to int.

      I'm not sure whether those are actually bugs in Gremlin.Net or if the specified types in the scenarios are simply wrong as there doesn't seem to be much we can do in .NET to get the types correctly.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            Florian Hockmann Florian Hockmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: