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.
Description
When migrating datafiles that contain inline comments (using
#), the parser includes the comment as part of the value.Example
The migration parser reads the connection name as
kafka # The name of the .connection fileinstead of justkafka, causing:Expected behavior
Inline comments (
# ...) should be stripped when parsing datafile values. This likely affects bothtinybird migrateandtinybird pull.