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

[C++] Cast to duration from types other than int64

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • C++

    Description

      From R:

      > Scalar$create(1L)$cast(duration())
      Error: NotImplemented: Unsupported cast from int32 to duration using function cast_duration
      

      But Scalar$create(1L)$cast(int64())$cast(duration()) works.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              npr Neal Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: