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

[Rust] Export JsonEqual trait in the array module

    XMLWordPrintableJSON

    Details

      Description

      ARROW-5901 added checking for array equality with JSON arrays. This added the JsonEqual trait bound to the Array trait but it isn't exported making it private.

      The JsonEqual is a public trait, but the equal module is private and the JsonEqual trait isn't exported like the ArrayEqual trait.

      AFAIK this makes it impossible to implement your own arrays that are bound by the Array trait.

      I suggest that JsonEqual is exported with pub use like the ArrayEqual trait from the array module. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kylemccarthy Kyle McCarthy
                Reporter:
                kylemccarthy Kyle McCarthy
              • 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 - 1.5h
                  1.5h