Skip to content

bug(import): Timestamp type mismatch when extracting paused_at_time from v3 query #45

@caterryan

Description

@caterryan

Summary

InfluxDB v3 returns timestamps as ISO 8601 strings, but the code expects integer nanoseconds, causing a type error during pause.

Steps to Reproduce

  1. Start an import from InfluxDB v3 source
  2. Pause the import while it's running
  3. Observe the warning in logs

Expected Behavior

No warning. The paused_at_time should be correctly extracted from the query results regardless of timestamp format.

Actual Behavior

Warning logged, but pause still succeeds because the code falls back to current_time.isoformat().

WARN: Failed to extract paused_at_time from series: unsupported operand type(s) for /: 'str' and 'float'

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