Skip to content

Conversation

@wence-
Copy link
Contributor

@wence- wence- commented Nov 13, 2025

Now that all the pieces are in, let's start putting the examples in.

@wence- wence- requested review from a team as code owners November 13, 2025 16:23
@wence- wence- added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Nov 13, 2025
@wence- wence- force-pushed the wence/fea/streaming-examples branch 3 times, most recently from 9ca765b to d8e9cb3 Compare November 14, 2025 10:48
@wence- wence- requested a review from a team as a code owner November 14, 2025 10:48
@wence- wence- force-pushed the wence/fea/streaming-examples branch 3 times, most recently from bebd8a7 to 5c24230 Compare November 14, 2025 18:54
@wence- wence- force-pushed the wence/fea/streaming-examples branch from c12a5c8 to 1c7735c Compare November 24, 2025 10:02
@wence- wence- force-pushed the wence/fea/streaming-examples branch from 1c7735c to 8f99472 Compare November 24, 2025 10:30
auto chunk =
rapidsmpf::ndsh::to_device(ctx, msg.release<rapidsmpf::streaming::TableChunk>());
auto table = chunk.table_view();
auto rounded = cudf::round(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get a warning here when compiling:

/home/nfs/toaugspurger/gh/rapidsai/rapidsmpf/cpp/benchmarks/streaming/ndsh/q09.cpp: In function 'rapidsmpf::streaming::Node {anonymous}::sort_by(std::shared_ptr<rapidsmpf::streaming::Context>, std::shared_ptr<rapidsmpf::streaming::Channel>, std::shared_ptr<rapidsmpf::streaming::Channel>)':
/home/nfs/toaugspurger/gh/rapidsai/rapidsmpf/cpp/benchmarks/streaming/ndsh/q09.cpp:480:31: warning: 'std::unique_ptr<cudf::column> cudf::round(const column_view&, int32_t, rounding_method, rmm::cuda_stream_view, rmm::device_async_resource_ref)' is deprecated [-Wdeprecated-declarations]
  480 |     auto rounded = cudf::round(
      |                    ~~~~~~~~~~~^
  481 |         table.column(2),
      |         ~~~~~~~~~~~~~~~~       
  482 |         2,
      |         ~~                     
  483 |         cudf::rounding_method::HALF_EVEN,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  484 |         chunk.stream(),
      |         ~~~~~~~~~~~~~~~        
  485 |         ctx->br()->device_mr()
      |         ~~~~~~~~~~~~~~~~~~~~~~ 
  486 |     );
      |     ~                          
In file included from /home/nfs/toaugspurger/gh/rapidsai/rapidsmpf/cpp/benchmarks/streaming/ndsh/q09.cpp:23:
/raid/toaugspurger/envs/rapidsmpf-dev/include/cudf/round.hpp:66:40: note: declared here
   66 | [[deprecated]] std::unique_ptr<column> round(

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but that needs a cast to and from which I haven't done.

I think the deprecation was a mistake but I wasn't convincing enough

auto supplier_x_part_x_partsupp_x_lineitem_shuffled =
ctx->create_channel();
auto orders_shuffled = ctx->create_channel();
// TODO:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be clear what the TODO is? :) Maybe configurable number of partitions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants