Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4948

FIWARE.Question.Tech.Data.BigData-Analysis.How to balance out row mode and column mode in cygnus?

    Details

      Description

      Created question in FIWARE Q/A platform on 22-05-2015 at 16:05
      Please, ANSWER this question AT http://stackoverflow.com/questions/30398783/how-to-balance-out-row-mode-and-column-mode-in-cygnus

      Question:
      How to balance out row mode and column mode in cygnus?

      Description:
      I have a weather-station that transmits data each hour. During that hour it makes four recordings (one every 15 minutes). In my current situation I am using attr_persistence=row to store data in my MySql database.

      With row mode I get the default generated columns:

      recvTimeTs | recvTime | entityId | entityType | attrName | attrType | attrValue | attrMd

      But my weather station sends me the following data:

      attrName attrValue

      timeRecorded 14:30:0,22.5.2015
      measurement1 18.799
      measurement2 94.0
      measurement3 1.19

      These attrValue are represented in the database as string.

      Is there a way to leave the three measurements in row mode and switch the timeRecorded to column mode? And if not, then what is my alternative?

      The point of all this is to query the time recorded value, but I cannot query date as long as it is string.

      As a side note: having the weather station send the data as soon as it is recorded (every 15 minutes) is out of the question, firstly because I need to conserve battery power and more importantly because in the case of a problem with the post, it will send all of the recordings at once.

      So if an entire day went without sending any data, the weather station will send all 24*4 readings at once...

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 59m 1 Backlog Manager 24/Oct/15 6:04 AM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 24/Oct/15 9:04 AM
        Answered Answered Closed Closed
        4d 4h 10m 1 Manuel Escriche 28/Oct/15 12:15 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler Cosmos [ 10872 ]
        HD-Chapter Data [ 10838 ]
        mev Manuel Escriche made changes -
        Summary FIWARE.Question.Tech.How to balance out row mode and column mode in cygnus? FIWARE.Question.Tech.Data.BigData-Analysis.How to balance out row mode and column mode in cygnus?
        mev Manuel Escriche made changes -
        Summary FIWARE.Question.Tech.FIWARE.Question.Tech.How to balance out row mode and column mode in cygnus? FIWARE.Question.Tech.How to balance out row mode and column mode in cygnus?
        mev Manuel Escriche made changes -
        Summary FIWARE.Question.Tech.How to balance out row mode and column mode in cygnus? FIWARE.Question.Tech.FIWARE.Question.Tech.How to balance out row mode and column mode in cygnus?
        mev Manuel Escriche made changes -
        Summary [fiware-stackoverflow] How to balance out row mode and column mode in cygnus? FIWARE.Question.Tech.How to balance out row mode and column mode in cygnus?
        mev Manuel Escriche made changes -
        Assignee Francisco Romero [ frb ]
        mev Manuel Escriche made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-24 09:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-24 09:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-24 06:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-24 06:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-24 03:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-24 03:05|CREATED monitor | # answers= 1, accepted answer= True
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: