久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <legend id='Tc9ge'><style id='Tc9ge'><dir id='Tc9ge'><q id='Tc9ge'></q></dir></style></legend>
  1. <i id='Tc9ge'><tr id='Tc9ge'><dt id='Tc9ge'><q id='Tc9ge'><span id='Tc9ge'><b id='Tc9ge'><form id='Tc9ge'><ins id='Tc9ge'></ins><ul id='Tc9ge'></ul><sub id='Tc9ge'></sub></form><legend id='Tc9ge'></legend><bdo id='Tc9ge'><pre id='Tc9ge'><center id='Tc9ge'></center></pre></bdo></b><th id='Tc9ge'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Tc9ge'><tfoot id='Tc9ge'></tfoot><dl id='Tc9ge'><fieldset id='Tc9ge'></fieldset></dl></div>

  2. <tfoot id='Tc9ge'></tfoot>
      <bdo id='Tc9ge'></bdo><ul id='Tc9ge'></ul>

  3. <small id='Tc9ge'></small><noframes id='Tc9ge'>

      如何將一個 CSV 中的一行與另一個 CSV 文件中的所

      How can I compare the one line in one CSV with all lines in another CSV file?(如何將一個 CSV 中的一行與另一個 CSV 文件中的所有行進(jìn)行比較?)

      <small id='8X25M'></small><noframes id='8X25M'>

        <bdo id='8X25M'></bdo><ul id='8X25M'></ul>

        1. <i id='8X25M'><tr id='8X25M'><dt id='8X25M'><q id='8X25M'><span id='8X25M'><b id='8X25M'><form id='8X25M'><ins id='8X25M'></ins><ul id='8X25M'></ul><sub id='8X25M'></sub></form><legend id='8X25M'></legend><bdo id='8X25M'><pre id='8X25M'><center id='8X25M'></center></pre></bdo></b><th id='8X25M'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='8X25M'><tfoot id='8X25M'></tfoot><dl id='8X25M'><fieldset id='8X25M'></fieldset></dl></div>
              <tbody id='8X25M'></tbody>
              • <legend id='8X25M'><style id='8X25M'><dir id='8X25M'><q id='8X25M'></q></dir></style></legend>
                <tfoot id='8X25M'></tfoot>
                本文介紹了如何將一個 CSV 中的一行與另一個 CSV 文件中的所有行進(jìn)行比較?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我有兩個 CSV 文件:

                I have two CSV files:

                1. Identity(no,name,Age) 有 10 行
                2. Location(Address,no,City) 有 100 行
                1. Identity(no,name,Age) which has 10 rows
                2. Location(Address,no,City) which has 100 rows

                我需要提取行并使用 Location CSV 文件檢查 Identity 中的 no 列.

                I need to extract rows and check the no column in the Identity with Location CSV files.

                Identity CSV 文件中獲取單行并檢查 Identity.noLocation.noLocation<中有 100 行/code> CSV 文件.

                Get the single row from Identity CSV file and check Identity.no with Location.no having 100 rows in Location CSV file.

                如果匹配則在Identity, Location

                注意:我需要將 Identity 的第一行與 Location CSV 文件中的 100 行進(jìn)行比較,然后將第二行與 100 行進(jìn)行比較.它將在 Identity CSV 文件中繼續(xù)最多 10 行.

                Note: I need to get 1st row from Identity compare it with 100 rows in Location CSV file and then get the 2nd row compare it with 100 rows. It will be continue up to 10 rows in Identity CSV file.

                并將整體結(jié)果轉(zhuǎn)換為 Json.然后將結(jié)果移入 SQL Server.

                And overall results convert into Json.Then move the results in to SQL Server.

                是否可以在 Apache Nifi 中使用?

                感謝任何幫助.

                推薦答案

                您可以在 NiFi 中使用 DistributedMapCache 功能執(zhí)行此操作,該功能實現(xiàn)了用于查找的鍵/值存儲.該設(shè)置需要一個分布式地圖緩存,以及兩個流 - 一個用于使用您的地址記錄填充緩存,另一個用于通過 no 字段查找地址.

                You can do this in NiFi by using the DistributedMapCache feature, which implements a key/value store for lookups. The setup requires a distributed map cache, plus two flows - one to populate the cache with your Address records, and one to look up the address by the no field.

                1. DistributedMapCache 由兩個控制器服務(wù)定義,一個 DistributedMapCacheServer 和 DistributeMapCacheClientService.如果您的數(shù)據(jù)集很小,您可以使用localhost"作為服務(wù)器.

                1. The DistributedMapCache is defined by two controller services, a DistributedMapCacheServer and a DistributeMapCacheClientService. If your data set is small, you can just use "localhost" as the server.

                填充緩存需要讀取地址文件、拆分記錄、提取no 鍵,并將鍵/值對放入緩存.大致流程可能包括 GetFile -> SplitText -> ExtractText -> UpdateAttribute -> PutDistributedMapCache.

                Populating the cache requires reading the Address file, splitting the records, extracting the no key, and putting key/value pairs to the cache. An approximate flow might include GetFile -> SplitText -> ExtractText -> UpdateAttribute -> PutDistributedMapCache.

                查找您的身份記錄實際上與上面的流程非常相似,因為它需要讀取身份文件、拆分記錄、提取no 鍵,然后獲取地址記錄.處理器流程可能包括 GetFile -> SplitText -> ExtractText -> UpdateAttribute -> FetchDistributedMapCache.

                Looking up your identity records is actually fairly similar to the flow above, in that it requires reading the Identity file, splitting the records, extracting the no key, and then fetching the address record. Processor flow might include GetFile -> SplitText -> ExtractText -> UpdateAttribute -> FetchDistributedMapCache.

                您可以使用 AttributesToJSON 或 ExecuteScript 將整個或部分從 CSV 轉(zhuǎn)換為 JSON.

                You can convert the whole or parts from CSV to JSON with AttributesToJSON, or maybe ExecuteScript.

                這篇關(guān)于如何將一個 CSV 中的一行與另一個 CSV 文件中的所有行進(jìn)行比較?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                相關(guān)文檔推薦

                Break down a table to pivot in columns (SQL,PYSPARK)(分解表以按列進(jìn)行透視(SQL、PYSPARK))
                Spark giving Null Pointer Exception while performing jdbc save(Spark在執(zhí)行jdbc保存時給出空指針異常)
                execute query on sqlserver using spark sql(使用 spark sql 在 sqlserver 上執(zhí)行查詢)
                Flowfile absolute path Nifi(Flowfile 絕對路徑 Nifi)
                Apache Nifi How to load JSON with nested array JSON and Call Oracle Stored Procedure(Apache Nifi 如何使用嵌套數(shù)組 JSON 加載 JSON 并調(diào)用 Oracle 存儲過程)
                executeSql failing after putSql processor(putSql處理器后executeSql失敗)

                1. <i id='TZam4'><tr id='TZam4'><dt id='TZam4'><q id='TZam4'><span id='TZam4'><b id='TZam4'><form id='TZam4'><ins id='TZam4'></ins><ul id='TZam4'></ul><sub id='TZam4'></sub></form><legend id='TZam4'></legend><bdo id='TZam4'><pre id='TZam4'><center id='TZam4'></center></pre></bdo></b><th id='TZam4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='TZam4'><tfoot id='TZam4'></tfoot><dl id='TZam4'><fieldset id='TZam4'></fieldset></dl></div>

                        <tbody id='TZam4'></tbody>

                          <bdo id='TZam4'></bdo><ul id='TZam4'></ul>
                          <legend id='TZam4'><style id='TZam4'><dir id='TZam4'><q id='TZam4'></q></dir></style></legend>

                          <small id='TZam4'></small><noframes id='TZam4'>

                          <tfoot id='TZam4'></tfoot>
                        • 主站蜘蛛池模板: 久久亚洲综合 | 国产精品视频免费观看 | 福利视频日韩 | 国产亚洲一区精品 | 亚洲最大成人综合 | 国产高清久久 | 伊人久久伊人 | 国产精品免费视频一区 | 久久久久久久久淑女av国产精品 | 亚洲人成人一区二区在线观看 | 农夫在线精品视频免费观看 | 久久久久99 | 久久久久久久国产 | 国产精品日产欧美久久久久 | 夜夜精品浪潮av一区二区三区 | 久久精品免费观看 | 日韩精品1区2区3区 国产精品国产成人国产三级 | 黄色激情毛片 | 亚洲高清视频一区二区 | 欧美国产中文 | 日韩三级电影一区二区 | 成人国产一区二区三区精品麻豆 | 国产精品亚洲综合 | 中文字幕免费视频 | 久久99视频这里只有精品 | 国产成人精品午夜视频免费 | 久久99精品国产麻豆婷婷 | 日日草夜夜草 | 91免费在线看 | 国产黄视频在线播放 | 日韩视频在线观看中文字幕 | 91在线精品视频 | 国产免费一区二区三区 | 国产成人精品高清久久 | 观看av| 91精品久久久久久久久久 | 一区二区久久 | 97久久精品午夜一区二区 | 黄网站免费入口 | 中文字幕一区二区三区在线乱码 | 九九久久精品 |