Data Engineering for ML
7 min read.
Watch a row-major read touch every column to return four of them, price the same file as CSV and Parquet, and see stateful stream processing reuse 29 days of work a batch job throws away every night.
Think of it this way: A filing cabinet versus a card index. If you usually want everything about one person, file by person. If you usually want one field about everyone, file by field. Choose wrong and every query walks past ninety-nine things it did not want.
Reads all 12 columns to get 4; 8 are read and thrown away.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Row-major or column-major?
Sort each trait into the storage layout it describes.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
Row-major
Drop items hereColumn-major
Drop items hereQuiz
20 questionsCSV is row-major, which means consecutive elements in a row are:
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.