- Documentation
Torch Log Service
FAQs
Query and analysis FAQ
Common errors in query and analysis
Query and analysis FAQ
Common errors in query and analysis
Common errors in query and analysis
This article lists common errors and solutions encountered during query and analysis of logs.
Sql syntax Error,details: line *:***: Cannot apply operator: bigint = varchar(10)
- Use the long or double data types and the string type for comparison.
- Convert string types to numeric types or numeric types to string types.
Sql syntax Error,details: line *:***: Column *** cannot be resolved
- No key-value index has been created for the batt field, and the statistics feature has not been enabled.
Notice
The new index only applies to new data that is collected after the modification. The index for existing data will not update.
Sql syntax Error,details: line *:***: Function *** not registered
- The objective function does not exist.
- Check whether the function name is spelled correctly. For SQL functions supported by TLS, please refer to the documentation.Function overview.
Sql syntax Error,details: line *:***: mismatched input '***'. Expecting: 'ALL', 'ANY', 'SOME', <expression>
- The corresponding position is missing a keyword.
- Check whether the grammar is correct and make corrections.
Sql syntax Error,details: Precheck failed: The key-value index for field (***) is not configured.
- Key-value index has not been configured for the field.
Notice
The new index only applies to new data that is collected after the modification. The index for existing data will not update.
Sql syntax Error,details: Table *** not found
- The corresponding external data source or Topic does not exist.
- Check whether the spelling is correct.
- Check whether the external data source has been created successfully and whether the connection test was successful.
Sql syntax Error,details: line *:***: Unexpected parameters (varchar(1), bigint) for function concat_ws. Expected: concat_ws(varchar, array(varchar)), concat_ws(varchar, varchar)
- The types of the function parameters passed in do not match the function's expectation.
- Modify SQL functions in query and analysis statements. For information about SQL functions supported by TLS, you can see Function overview.
Last updated: 2026.06.25 17:01:03