     }
     //TODO : Invalid api
 
-    size_t join_size = left_indices->size;
+    size_type join_size = left_indices->size;
     int left_table_end = num_left_cols - num_cols_to_join;
     int right_table_begin = num_left_cols;
 

    }

    gdf_error err{GDF_SUCCESS};
    if (0 != lnonjoincol.size()) {
        gdf_table<size_type> l_i_table(lnonjoincol.size(), lnonjoincol.data());
        gdf_table<size_type> l_table(num_left_cols - num_cols_to_join, result_cols);

                l_table, join_type != JoinType::INNER_JOIN);
        if (err != GDF_SUCCESS) { return err; }
    }

    //Construct the right columns
    if (0 != rnonjoincol.size()) {
        gdf_table<size_type> r_i_table(rnonjoincol.size(), rnonjoincol.data());
        gdf_table<size_type> r_table(num_right_cols - num_cols_to_join, result_cols + right_table_begin);
