Skip to content

Migrate/pull: inline comments in datafiles are not stripped #140

@gnzjgo

Description

@gnzjgo

Description

When migrating datafiles that contain inline comments (using #), the parser includes the comment as part of the value.

Example

KAFKA_CONNECTION_NAME kafka # The name of the .connection file

The migration parser reads the connection name as kafka # The name of the .connection file instead of just kafka, causing:

Datasource references missing/unmigrated connection "kafka # The name of the .connection file"

Expected behavior

Inline comments (# ...) should be stripped when parsing datafile values. This likely affects both tinybird migrate and tinybird pull.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions