ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How to achieve dynamic partition in Spark-sql.?

Is it possible to create dynamic partition in spark-sql

user-image
تم إضافة السؤال من قبل Aditya Rajendra Jadhav Jadhav , Software Developer , M/S Sks Sarda group
تاريخ النشر: 2017/09/11
Ahmed Lateef
من قبل Ahmed Lateef , Member Technical Services , eBay

Just add the column name with out "=" but you must Define at least one static partition ( should be last in sequence).

for example

Partition by (Name, date=2017)

Shankar J
من قبل Shankar J , Manager , Standard Chartered Global Business Services

It is to be declared to the field when create a table using syntax 'parition by <fieldname>' 

Partition is the good method to segrate the related values to store into hadoop with multiple areas.

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟