Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7077

[C++] Unsupported Dict->T cast crashes instead of returning error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.1
    • Fix Version/s: 0.16.0
    • Component/s: C++

      Description

      >>> arr = pa.array(["foo", "bar"])                                                                                                                                    
      >>> arr.dictionary_encode().cast('binary')                                                                                                                            
      F1106 16:53:22.411165 28503 cast.cc:919]  Check failed: values_type.Equals(*output->type) Dictionary type: string target type: binary
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apitrou Antoine Pitrou
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m