Skip to content

asofJoin() requires name of timpestamp column names to match #390

@ghormann

Description

@ghormann

When trying to use asofJoin() on two TSDF records with different time series column names an exception is raised. I'm not sure if this is a considered a bug or a feature, but given that TSDF knows the column name of each TSDF object, it seems like it should be smart enough to execute the join.

Example

  • tsdf_state has time column 'ts'
  • tsdf_validate has time column 'EndTime'
  • Running asofJoin() results in an error as it is using EndTime on tsdf_state

image

Workaround

If I make sure the time column is the same for both TSDF records it appears to work as expected. (Here column 'ts' is created as a copy of EndTime before creating tsdf_validate).

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions