Unexpected Row Length Errors: Sorting Rows for UNION - Advanced SQL Engine - Teradata Database

SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
vjt1596846980081.ditamap
dita:ditavalPath
vjt1596846980081.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantageā„¢

Before performing the sort operation used to check for duplicates in some union operations, Vantage creates a sort key and appends it to the rows to be sorted. If the length of this temporary data structure exceeds the system limit of 64 KB, the operation fails and returns an error to the requestor. Depending on the situation, the message text is one of the following:

  • A data row is too long.
  • Maximum row length exceeded in database_object_name.

See Teradata Vantageā„¢ - Database Messages, B035-1096 for explanations of these messages.