Teradata Database Message 6851 - 17.10 - 6851 - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Messages

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1096-171K
Language
English (United States)
Message
PARTITIONS WHERE clause only allowed for row-partitioned PI tables with 2-byte partitioning.
Explanation
The user is trying to perform a backup or restore operation with a PARTITIONS WHERE clause on a table that does not have a primary index with only 2- byte row partitioning. Nonpartitioned, 8-byte partitioned, column- partitioned, no primary index, and primary AMP index tables can only be used with full-table BAR.
Generated By
OPT modules.
For Whom
End User.
Notes
None
Remedy
Remove the PARTITIONS WHERE clause and re-submit the job. Alternatively, change the table to have a primary index with 2-byte row partitioning without column partitioning.