Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • PDI Data Interface PDI Data Interface
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pdidevpdidev
  • PDI Data InterfacePDI Data Interface
  • Issues
  • #382

Strange behavior of the subsize and start keywords in array datatype

I define my array this way in the yml file and I pass it to deisa plugin (python based plugin).

data:
    local_t:
      type: array
      subtype: double
      size: ['$dsize0', '$dsize1']
      subsize: ['$dsize0 - 2', '$dsize1 - 2']
      start: [1, 1]

When the start : [0,0] is set, the data values are correct. However I noticed strange values in the arrays I share when it is set to start: [1, 1]. It seems that the new pointer to the data is not well set.

I had a quick discussion with Karol, who suggested to try to serialize my data before passing it to deisa. It seems to solve my issue :)

Karol thinks that there is maybe a bug in the to_python function.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking