Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

HDPCD Developer Exam: Pig column indexing questions

avatar
New Member

Hi,

In HDPCD exam questions, when column 5 (for example ) is mentioned, does this refer to $4 in pig relation? I assume it does but just want to confirm.

1 ACCEPTED SOLUTION

avatar
New Member

To refer nth column , you have to use $(n-1) , so $4 will refer to 5th column .

View solution in original post

1 REPLY 1

avatar
New Member

To refer nth column , you have to use $(n-1) , so $4 will refer to 5th column .