Develop Singer taps and targets.

hotglue singer validate

Validate a Singer file. It ensures that the data conforms to the expected schema and checks for any discrepancies or errors in the data records.

Sample

hotglue singer validate --dataFilePath data.txt

        
πŸŽ‰πŸŽ‰πŸŽ‰ Singer validation passed πŸŽ‰πŸŽ‰πŸŽ‰
--------------------------------------

2 streams validated

Record count by stream:

  contacts: 2500
  companies: 513

Options

  • --dataFilePath: The path to the data file that needs to be validated. Defaults to data.singer
  • --allowDuplicateRecords: A boolean flag to allow duplicate records in the data. Defaults to false. The key_properties field on SCHEMA messages is used to determine uniqueness for a stream.
  • --allowFuzzyTypes: A boolean flag to allow fields to allow multiple types for a field. Defaults to false.
  • --json: Outputs the validation result in JSON format.