File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1919#define  ARROW_IO_HDFS 
2020
2121#include  < cstdint> 
22- #include  < map > 
22+ #include  < unordered_map > 
2323#include  < memory> 
2424#include  < string> 
2525#include  < vector> 
@@ -64,7 +64,7 @@ struct HdfsConnectionConfig {
6464  int  port;
6565  std::string user;
6666  std::string kerb_ticket;
67-   std::map <std::string, std::string> extra_conf;
67+   std::unordered_map <std::string, std::string> extra_conf;
6868  HdfsDriver driver;
6969};
7070
Original file line number Diff line number Diff line change 1818#  distutils: language = c++
1919
2020from  pyarrow.includes.common cimport * 
21- from  libcpp.map cimport map  as  cppmap
2221
2322cdef extern from  " arrow/util/key_value_metadata.h" " arrow" 
2423    cdef cppclass CKeyValueMetadata"  arrow::KeyValueMetadata" 
@@ -651,7 +650,7 @@ cdef extern from "arrow/io/api.h" namespace "arrow::io" nogil:
651650        int  port
652651        c_string user
653652        c_string kerb_ticket
654-         cppmap [c_string, c_string] extra_conf
653+         unordered_map [c_string, c_string] extra_conf
655654        HdfsDriver driver
656655
657656    cdef cppclass HdfsPathInfo:
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments