nebula-exchange不处理edge时怎么配置

提问参考模版:

  • nebula 版本:2.0.0
  • 部署方式:单机
    使用exchange导入数据时,不想处理tags的时候,要怎么处理??
    是这样
  # Processing tags
  tags: [

  ]

  # Processing edges
  edges: [
    {
      name: relation
      type: {
        source: hive
        sink: client
      }
      exec: "sql语句"
      fields: [yhzgx, source, cjsj]
      nebula.fields: [relation, source, cjsj]
      source: src_sfzh
      target: des_sfzh
      batch: 256
      partition: 32
    }

  ]

还是这样呢?

  # Processing edges
  edges: [
    {
      name: relation
      type: {
        source: hive
        sink: client
      }
      exec: "sql语句"
      fields: [yhzgx, source, cjsj]
      nebula.fields: [relation, source, cjsj]
      source: src_sfzh
      target: des_sfzh
      batch: 256
      partition: 32
    }

  ]

两者都可以的

浙ICP备20010487号