imbajin commented on PR #358:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/358#issuecomment-1308623523

   > @imbajin Hi, I can help solve the loader ci check failure
   
   Thanks, I have already adopt the basic problem, and current the differ is:
   
   expected:
   ```JavaScript
   {
       "version":"2.0",
       "structs":[
           {
               "id":"1",
               "skip":false,
               "input":{
                   "type":"FILE",
                   "path":"users.dat",
                   "file_filter":{
                       "extensions":[
                           "*"
                       ]
                   },
                   "format":"TEXT",
                   "delimiter":"::",
                   "date_format":"yyyy-MM-dd HH:mm:ss",
                   "time_zone":"GMT+8",
                   "skipped_line":{
                       "regex":"(^#|^//).*|"
                   },
                   "compression":"NONE",
                   "batch_size":500,
                   "header":[
                       "UserID",
                       "Gender",
                       "Age",
                       "Occupation",
                       "Zip-code"
                   ],
                   "charset":"UTF-8",
                   "list_format":null
               },
               "vertices":[
                   {
                       "label":"user",
                       "skip":false,
                       "id":null,
                       "unfold":false,
                       "field_mapping":{
                           "UserID":"id"
                       },
                       "value_mapping":{
   
                       },
                       "selected":[
   
                       ],
                       "ignored":[
                           "Occupation",
                           "Zip-code",
                           "Gender",
                           "Age"
                       ],
                       "null_values":[
                           ""
                       ],
                       "update_strategies":{
   
                       },
                       "batch_size":500
                   }
               ],
               "edges":[
   
               ]
           },
           {
               "id":"2",
               "skip":false,
               "input":{
                   "type":"FILE",
                   "path":"ratings.dat",
                   "file_filter":{
                       "extensions":[
                           "*"
                       ]
                   },
                   "format":"TEXT",
                   "delimiter":"::",
                   "date_format":"yyyy-MM-dd HH:mm:ss",
                   "time_zone":"GMT+8",
                   "skipped_line":{
                       "regex":"(^#|^//).*|"
                   },
                   "compression":"NONE",
                   "batch_size":500,
                   "header":[
                       "UserID",
                       "MovieID",
                       "Rating",
                       "Timestamp"
                   ],
                   "charset":"UTF-8",
                   "list_format":null
               },
               "vertices":[
   
               ],
               "edges":[
                   {
                       "label":"rating",
                       "skip":false,
                       "source":[
                           "UserID"
                       ],
                       "unfold_source":false,
                       "target":[
                           "MovieID"
                       ],
                       "unfold_target":false,
                       "field_mapping":{
                           "UserID":"id",
                           "MovieID":"id",
                           "Rating":"rate"
                       },
                       "value_mapping":{
   
                       },
                       "selected":[
   
                       ],
                       "ignored":[
                           "Timestamp"
                       ],
                       "null_values":[
                           ""
                       ],
                       "update_strategies":{
   
                       },
                       "batch_size":500
                   }
               ]
           }
       ]
   }
   ```
   
   actual: 
   ```javascript
   {
       "version":"2.0",
       "structs":[
           {
               "id":"1",
               "skip":false,
               "input":{
                   "type":"FILE",
                   "path":"users.dat",
                   "file_filter":{
                       "extensions":[
                           "*"
                       ]
                   },
                   "format":"TEXT",
                   "delimiter":"::",
                   "date_format":"yyyy-MM-dd HH:mm:ss",
                   "time_zone":"GMT+8",
                   "skipped_line":{
                       "regex":"(^#|^//).*|"
                   },
                   "compression":"NONE",
                   "batch_size":500,
                   "header":[
                       "UserID",
                       "Gender",
                       "Age",
                       "Occupation",
                       "Zip-code"
                   ],
                   "charset":"UTF-8",
                   "list_format":null
               },
               "vertices":[
                   {
                       "label":"user",
                       "skip":false,
                       "id":null,
                       "unfold":false,
                       "field_mapping":{
                           "UserID":"id"
                       },
                       "value_mapping":{
   
                       },
                       "selected":[
   
                       ],
                       "ignored":[
                           "Occupation",
                           "Zip-code",
                           "Gender",
                           "Age"
                       ],
                       "null_values":[
                           ""
                       ],
                       "update_strategies":{
   
                       },
                       "batch_size":500
                   }
               ],
               "edges":[
   
               ]
           },
           {
               "id":"2",
               "skip":false,
               "input":{
                   "type":"FILE",
                   "path":"ratings.dat",
                   "file_filter":{
                       "extensions":[
                           "*"
                       ]
                   },
                   "format":"TEXT",
                   "delimiter":"::",
                   "date_format":"yyyy-MM-dd HH:mm:ss",
                   "time_zone":"GMT+8",
                   "skipped_line":{
                       "regex":"(^#|^//).*|"
                   },
                   "compression":"NONE",
                   "batch_size":500,
                   "header":[
                       "UserID",
                       "MovieID",
                       "Rating",
                       "Timestamp"
                   ],
                   "charset":"UTF-8",
                   "list_format":null
               },
               "vertices":[
   
               ],
               "edges":[
                   {
                       "label":"rating",
                       "skip":false,
                       "source":[
                           "UserID"
                       ],
                       "unfold_source":false,
                       "target":[
                           "MovieID"
                       ],
                       "unfold_target":false,
                       "field_mapping":{
                           "UserID":"id",
                           "MovieID":"id",
                           "Rating":"rate"
                       },
                       "value_mapping":{
   
                       },
                       "selected":[
   
                       ],
                       "ignored":[
                           "Timestamp"
                       ],
                       "null_values":[
                           ""
                       ],
                       "update_strategies":{
   
                       },
                       "batch_size":500
                   }
               ]
           }
       ],
       "backendStoreInfo":null
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to