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

[C++] Improve random data generation functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • C++

    Description

      Our various code for generating random datasets for testing and benchmarks is a bit verbose / awkward.

      I suggest defining a nicer API so we can write code like:

      auto arr = random::int32(length, seed);
      auto arr = random::varbinary(length, max_value_size, seed);
      

      Since this is only for test code, we can abort if anything returns error Status to make the API more convenient

      Attachments

        Issue Links

          Activity

            People

              fsaintjacques Francois Saint-Jacques
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 0.5h
                  0.5h