Skip to content

feat: Support Parquet input in RPT client#1520

Draft
davidkna-sap wants to merge 17 commits intomainfrom
davidkna-sap_rpt-parquet-cloud-sdk
Draft

feat: Support Parquet input in RPT client#1520
davidkna-sap wants to merge 17 commits intomainfrom
davidkna-sap_rpt-parquet-cloud-sdk

Conversation

@davidkna-sap
Copy link
Member

@davidkna-sap davidkna-sap commented Feb 6, 2026

Context

Caution

Currently uses Canary SAP Cloud SDK

This PR is #1484 but powered by the multi-part SAP Cloud SDK PR.

Related https://github.com/SAP/ai-sdk-js-backlog/issues/469.
Cloud SDK PR/branch: SAP/cloud-sdk-js#6301

What this PR does and why it is needed

@davidkna-sap davidkna-sap force-pushed the davidkna-sap_rpt-parquet-cloud-sdk branch from 9fadc5e to 24b672a Compare February 6, 2026 14:45
@davidkna-sap davidkna-sap force-pushed the davidkna-sap_rpt-parquet-cloud-sdk branch from 24b672a to bd7d3ef Compare February 6, 2026 14:47
Copy link
Member Author

@davidkna-sap davidkna-sap Feb 6, 2026

Choose a reason for hiding this comment

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

These changes are not in the upstream spec:

I've requested that encoding is added and AFAIK prediction_config types were already requested.

Copy link
Contributor

Choose a reason for hiding this comment

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

awesome 😊

@davidkna-sap davidkna-sap added blocked Issue or PR blocked due to other issues. don't merge labels Feb 6, 2026
…uet-cloud-sdk

* origin/main: (38 commits)
  feat: Support orchestration prompt module fallback (#1454)
  v2.7.0
  chore: Fix pnpm-lockfile refresh merge condition handling (#1497)
  feat: Add `rawResponse` property to `OrchestrationStreamResponse`& `getRequestId`-helpers (#1464)
  chore: Combine ai client type headers (#1545)
  chore(deps-dev): Bump @sap/cds-dk from 9.7.1 to 9.7.2 (#1548)
  chore: update pnpm transitive dependencies (#1544)
  chore(deps-dev): Bump glob from 13.0.2 to 13.0.3 (#1541)
  chore(deps-dev): Bump dotenv from 17.2.4 to 17.3.1 (#1540)
  chore(deps): Bump the langchain group with 3 updates (#1538)
  feat: Update ai-api specification (#1489)
  feat: Advertise AbortSignal support for HTTP request cancellation (#1480)
  chore(deps-dev): Bump orval from 8.2.0 to 8.3.0 (#1536)
  chore(deps): Bump the langchain group with 3 updates (#1535)
  feat: Added support for custom headers in document grounding and open ai clients (#1519)
  chore: Fix rpt (#1533)
  chore(deps-dev): Bump @types/node from 22.19.10 to 22.19.11 (#1532)
  chore(deps-dev): Bump glob from 13.0.1 to 13.0.2 (#1530)
  chore(deps-dev): Bump nock from 14.0.10 to 14.0.11 (#1529)
  chore(deps): Bump the langchain group with 3 updates (#1528)
  ...
@davidkna-sap davidkna-sap changed the base branch from davidkna-sap_rpt-parquet to main February 16, 2026 14:53
@davidkna-sap davidkna-sap changed the title refactor: [WIP] Use updated Cloud-SDK to handle RPT parquet-API feat: Support Parquet input in RPT client Feb 16, 2026
Copy link
Member Author

Choose a reason for hiding this comment

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

To be reverted

@davidkna-sap davidkna-sap removed the blocked Issue or PR blocked due to other issues. label Feb 17, 2026
);
}

// Workaround: Endpoint requires a filename that ends with .parquet
Copy link
Contributor

Choose a reason for hiding this comment

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

[q] Does it make sense to ask the service owners to ignore the filename and just look at the format?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

awesome!


/**
* Predict based on Parquet file data.
* @param parquetData - Parquet file data as Blob. Can also be a File to forward the filename.
Copy link
Contributor

Choose a reason for hiding this comment

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

[nth] Maybe add a few words an what is in the file. I think prediction data and data schema.

Copy link
Contributor

@marikaner marikaner left a comment

Choose a reason for hiding this comment

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

lgtm 👍

Co-authored-by: Marika Marszalkowski <marika.marszalkowski@sap.com>
…uet-cloud-sdk

* origin/main:
  chore(deps-dev): Bump glob from 13.0.3 to 13.0.5 (#1553)
  chore(deps): Bump the langchain group with 2 updates (#1552)
  chore(deps-dev): Bump orval from 8.3.0 to 8.4.0 (#1550)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments