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

[Python] Expose full cast options in the pyarrow.compute.cast function

Details

    Description

      Currently, the pc.cast function has a safe=True/False option, which provides a short-cut to setting the cast options.

      But the actual kernel has more detailed options that can be tuned, and this is already exposed in the CastOptions class in python (allow_int_overflow, allow_time_truncate, ...). So we should ensure that we can pass such a CastOptions object to the cast kernel directly as well.

      Attachments

        Issue Links

          Activity

            People

              jabaribooker Jabari Booker
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h 50m
                  2h 50m

                  Slack

                    Issue deployment