從 BICC 連線擷取 Fusion 資料至記事本

將 Fusion Data 從 BICC 連線連線至 Oracle AI Data Platform Workbench 後,您可以從記事本擷取該資料。

  1. 從您的首頁瀏覽至記事本。
  2. 在筆記型電腦中,輸入 Spark 程式碼以擷取資料。例如:
    spark.read.format("datalake") \
        .option("type", "FUSION_BICC") \
        .option("fusion.service.url", "https://<saas cloud host name>:<saas cloud port number>") \
        .option("user.name", "john.smith") \
        .option("password", "**password**") \
        .option("schema", "Financial") \
        .option("fusion.external.storage", "FA4IDL") \
        .option("datastore", "CrmAnalyticsAM.GeographiesAnalyticsAM.Geography") \
        .load().show()
  3. 將資料讀取至資料框架,並將資料框架儲存為目錄中的差異表。