Skip to content

Commit acf6132

Browse files
Merge pull request #5711 from wlifuture/main
sql indexer error update
2 parents 92d206b + a3eab5d commit acf6132

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/search/cognitive-search-common-errors-warnings.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,3 +414,12 @@ This warning is passed from the Language service of Azure AI services. In some c
414414
## `Error: Cannot write more bytes to the buffer than the configured maximum buffer size`
415415

416416
Indexers have [document size limits](search-limits-quotas-capacity.md#indexer-limits). Make sure that the documents in your data source are smaller than the supported size limit, as documented for your service tier.
417+
418+
<a name="error-failed-to-compare-type-value"></a>
419+
## `Error: Failed to compare value 'X' of type M to value 'Y' of type N.`
420+
421+
This error usually happens in Azure SQL indexers when the source column type used for [`dataChangeDetectionPolicy`](search-how-to-index-sql-database.md#high-water-mark-change-detection-policy) doesn’t match what the indexer expects, especially if [`convertHighWaterMarkToRowVersion`](search-how-to-index-sql-database.md#converthighwatermarktorowversion) is turned on.
422+
423+
For example, if the column used for change detection is of type datetime, but the indexer expects a rowversion type because convertHighWaterMarkToRowVersion is enabled, the mismatch will cause an error.
424+
425+
Check the data type for the 'High Water Mark' column in the source and update the indexer configuration accordingly. Once verified and updated, reset and rerun the indexer to process the column values.

0 commit comments

Comments
 (0)