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

      • <bdo id='HdAeR'></bdo><ul id='HdAeR'></ul>
    1. <small id='HdAeR'></small><noframes id='HdAeR'>

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

      <legend id='HdAeR'><style id='HdAeR'><dir id='HdAeR'><q id='HdAeR'></q></dir></style></legend>

    4. 如何在 NiFi 中映射流文件中的列數據?

      How to map the column wise data in flowfile in NiFi?(如何在 NiFi 中映射流文件中的列數據?)
        <tbody id='D2K0s'></tbody>
        <i id='D2K0s'><tr id='D2K0s'><dt id='D2K0s'><q id='D2K0s'><span id='D2K0s'><b id='D2K0s'><form id='D2K0s'><ins id='D2K0s'></ins><ul id='D2K0s'></ul><sub id='D2K0s'></sub></form><legend id='D2K0s'></legend><bdo id='D2K0s'><pre id='D2K0s'><center id='D2K0s'></center></pre></bdo></b><th id='D2K0s'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='D2K0s'><tfoot id='D2K0s'></tfoot><dl id='D2K0s'><fieldset id='D2K0s'></fieldset></dl></div>

      1. <small id='D2K0s'></small><noframes id='D2K0s'>

          <bdo id='D2K0s'></bdo><ul id='D2K0s'></ul>

                <legend id='D2K0s'><style id='D2K0s'><dir id='D2K0s'><q id='D2K0s'></q></dir></style></legend>

              • <tfoot id='D2K0s'></tfoot>
                本文介紹了如何在 NiFi 中映射流文件中的列數據?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我有一個具有以下結構的csv文件,

                i have csv file which having following structure.,

                Alfreds,Centro,Ernst,Island,Bacchus
                Germany,Mexico,Austria,UK,Canada
                01,02,03,04,05
                

                現在我必須將這些數據移動到數據庫中,如下所示.

                Now i have to move that data into database like below.

                Name,City,ID
                Alfreds,Germay,01
                Centro,Mexico,02
                Ernst,Austria,03
                Island,UK,04
                Bacchus,Canda,05
                

                我嘗試映射這些列,但我無法按列提取數據.

                i try to map those colums but i can't able to extract the data in column wise.

                這里我按列輸入數據,但我需要在 SQLServer 中按行插入數據

                Here my input data in column wise but i need to insert those in row wise in SQLServer

                任何人都可以建議在 sql server 中將列數據轉換為行數據的方法嗎?.

                Can anyone suggest way to transfer column wise data into row wise in sql server?.

                謝謝

                推薦答案

                @Andy,

                在 NiFi 中也可以不使用 ExecuteScript.

                It could be possible in NiFi also without using ExecuteScript.

                我在 ExtractText 中提取了 3 個輸入行作為 input.1,input.2,input.3.然后使用 表達式語言 并將其存儲在 "TotalCount" 屬性中.

                I have extract the 3 input rows as input.1,input.2,input.3 in ExtractText. And then count number of columns in "input.1" using AnydelinateValues in expression language and store that in "TotalCount" Attribute.

                最初制作Count=1".

                Initially made "Count=1".

                使用循環概念通過使用Count"獲取第一列,然后在RouteOnAttribute中增加Count"檢查Count""le(totalcount)"

                Using Loop Concept to get the first column by using "Count" and then increment "Count" Check "Count" in RouteOnAttribute "le(totalcount)"

                現在使用 "Count" 屬性形成插入查詢.

                Now form insert Query with "Count" Attribute.

                它對我來說效果很好.它可能對某人有用.

                It worked well for me.It could be useful for someone.

                這篇關于如何在 NiFi 中映射流文件中的列數據?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                相關文檔推薦

                How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數根據 N 個先前值來決定接下來的 N 個行)
                reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達式的結果;條款?)
                Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數的 ignore 選項是忽略整個事務還是只是有問題的行?) - IT屋-程序員軟件開發技
                Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時出錯,使用 for 循環數組)
                pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調用 o23.load 時發生錯誤 沒有合適的驅動程序)
                How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數據庫表作為 Spark 數據幀讀取?)
              • <legend id='PZ3ZP'><style id='PZ3ZP'><dir id='PZ3ZP'><q id='PZ3ZP'></q></dir></style></legend>
                    <tbody id='PZ3ZP'></tbody>

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

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

                          主站蜘蛛池模板: 解开岳的丰满奶罩bd | 伊人网在线播放 | 欧美激情成人 | 成人黄色录像 | 久久男人的天堂 | www一级片 | 亚洲午夜久久 | 亚洲精品社区 | 成人欧美一区二区三区白人 | 三级黄色片免费看 | 免费看黄色大片 | 日韩a在线 | 黄色一及片 | 欧美日韩综合在线 | 超碰在线人人 | 亚洲一区三区 | 国产成年人视频 | 国产精品无遮挡 | 日韩美女一区 | 午夜专区 | 国产精品久久久久久中文字 | 国产精品3 | 国产小视频在线 | 国产欧美日韩一区 | 亚洲成人黄色 | 中文字幕不卡在线 | 国产性猛交96 | 欧美精品亚洲精品 | 国产精品一区视频 | 91小视频在线观看 | 日韩中文字幕一区二区三区 | 亚洲免费二区 | 在线免费看毛片 | 91精品免费视频 | 性生活网址 | 天天射天天操天天干 | 成人一区二区视频 | 中文字幕日韩欧美 | 国产精品久久 | 一道本av| 久久久久久久久久国产精品 |