久久久久久久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 中映射流文件中的列數(shù)據(jù)?

      How to map the column wise data in flowfile in NiFi?(如何在 NiFi 中映射流文件中的列數(shù)據(jù)?)
        <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 中映射流文件中的列數(shù)據(jù)?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我有一個(gè)具有以下結(jié)構(gòu)的csv文件,

                i have csv file which having following structure.,

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

                現(xiàn)在我必須將這些數(shù)據(jù)移動(dòng)到數(shù)據(jù)庫中,如下所示.

                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
                

                我嘗試映射這些列,但我無法按列提取數(shù)據(jù).

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

                這里我按列輸入數(shù)據(jù),但我需要在 SQLServer 中按行插入數(shù)據(jù)

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

                任何人都可以建議在 sql server 中將列數(shù)據(jù)轉(zhuǎn)換為行數(shù)據(jù)的方法嗎?.

                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 個(gè)輸入行作為 input.1,input.2,input.3.然后使用 表達(dá)式語言 并將其存儲(chǔ)在 "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".

                使用循環(huán)概念通過使用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)"

                現(xiàn)在使用 "Count" 屬性形成插入查詢.

                Now form insert Query with "Count" Attribute.

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

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

                這篇關(guān)于如何在 NiFi 中映射流文件中的列數(shù)據(jù)?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                相關(guān)文檔推薦

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

                          主站蜘蛛池模板: 成人免费视频网站在线看 | pacopacomama在线 | 欧美日韩黄 | 中文字幕精品一区二区三区在线 | 久久久久国 | 91精品国产色综合久久不卡蜜臀 | 国产欧美一区二区精品忘忧草 | 日本中文字幕在线观看 | 国产成人精品久久二区二区91 | 日韩在线高清 | 日韩在线 | 成人网在线 | 久久大全| 免费看91 | 日韩免费福利视频 | 色婷婷在线视频 | 亚洲欧美在线一区 | 免费av观看 | 国产美女精品视频 | 国产欧美日韩精品一区 | 欧美自拍一区 | 奇米av| 欧美乱淫视频 | 国产一区二区三区 | 在线观看国产www | 亚洲视频一区在线 | 亚洲一区二区久久 | 国产一区二区三区四区区 | 国产精品久久久久久久久动漫 | 日韩中文字幕一区二区 | 日本久久精 | 欧美日韩在线一区 | 羞羞视频在线观看免费观看 | 国产精品久久久久一区二区三区 | 免费看91 | 国产精品毛片久久久久久久 | 亚洲精品综合 | 一级欧美 | 久久婷婷av| 国产乱码精品一品二品 | 久久一区二区视频 |