Spark dataframe join showing unexpected results – 0 rows

I’m using spark-1.6.0, I want to join 2 dataframe, they showed in YARN log like following. df_train_raw df_user_clicks_info I have tried to inner join them with code: val df_tmp_tmp_0 = df_train_raw.join(df_user_clicks_info, Seq(“subscriberid”)) df_tmp_tmp_0.show() And the results I got was exactly nothing! OMG! +————+——–+—–+————+——————————-+——————————-+——————————–+———————————+———————————+———————————+——————————–+——————————–+——————————–+———————————+———————————-+———————————-+———————————-+———————————+———————————+———————————+———————————-+———————————–+———————————–+———————————–+———————————-+ |subscriberid|objectid|label|subscriberid|user_clicks_avg_everyday_a_week|user_clicks_sum_time_1_9_a_week|user_clicks_sum_time_9_14_a_week|user_clicks_sum_time_14_17_a_week|user_clicks_sum_time_17_19_a_week|user_clicks_sum_time_19_23_a_week|user_clicks_sum_time_23_1_a_week|user_clicks_avg_everyday_weekday|user_clicks_sum_time_1_9_weekday|user_clicks_sum_time_9_14_weekday|user_clicks_sum_time_14_17_weekday|user_clicks_sum_time_17_19_weekday|user_clicks_sum_time_19_23_weekday|user_clicks_sum_time_23_1_weekday|user_clicks_avg_everyday_weekdend|user_clicks_sum_time_1_9_weekdend|user_clicks_sum_time_9_14_weekdend|user_clicks_sum_time_14_17_weekdend|user_clicks_sum_time_17_19_weekdend|user_clicks_sum_time_19_23_weekdend|user_clicks_sum_time_23_1_weekdend| +————+——–+—–+————+——————————-+——————————-+——————————–+———————————+———————————+———————————+——————————–+——————————–+——————————–+———————————+———————————-+———————————-+———————————-+———————————+———————————+———————————+———————————-+———————————–+———————————–+———————————–+———————————-+ +————+——–+—–+————+——————————-+——————————-+——————————–+———————————+———————————+———————————+——————————–+——————————–+——————————–+———————————+———————————-+———————————-+———————————-+———————————+———————————+———————————+———————————-+———————————–+———————————–+———————————–+———————————-+ I don’t know why? It seems nothing wrong here?…

Details

Point subfolder in S3 bucket to *.buildmywebsite domain

Lets say that I have an S3 bucket called apps.buildmysite.com for my hypothetical website buildmysite.com (I also have buildmysite.com and www.buildmysite.com as S3 buckets which host the main website). Inside the S3 bucket is a list of folders: app-2343242 app-9402932 Each app corresponds to a separate website. I now want to create the corresponding subdomains…

Details

Change dns-prefetch to preconnect with correct protocol

I have this function in my functions.php file: add_filter( ‘wp_resource_hints’, function( $urls, $relation_type ) { if ( ‘dns-prefetch’ === $relation_type ) { $urls = []; } if ( ‘preconnect’ === $relation_type ) { $urls = wp_dependencies_unique_hosts(); } return $urls; }, 0, 2 ); It takes the URLs defined in wp_dependencies_unique_hosts() – which WordPress by default…

Details