Skip to content

DATA-4295: SDK/CLI changes to support ExportTabularData and GetLatestTabularData #5114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Emerald-Z
Copy link
Member

@Emerald-Z Emerald-Z commented Jul 3, 2025

Changes include:

Testing:
Manual Testing for CLI Export Change

example query

go run . data export tabular --part-id "3380647d-127a-4fb8-aa7e-253ef7dbccc7" --resource-name "sensor-1" --resource-subtype "rdk:component:sensor" --method "DoCommand" --destination "/Users/emerald.zhang/Downloads" --additional-params '{"docommand_input": {"foo": "bar"}}'
  • verified that data returned only contains the correct additional params
  • verified that invalid additional params return nothing (consistent with app-side change)
  • verified that no additional params exports all data

Testing for Golang SDK Changes

  • updated local tests
  • wrote a testing script to test the SDK functions with fake data
  • verified that all behavior is consistent with this PR
    (if interested I can attach the test script)

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Jul 3, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants