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

FIWARE.Question.Tech.Data.BigData-Analysis.How to properly set up column mode in cygnus?

    Details

      Description

      Created question in FIWARE Q/A platform on 11-12-2015 at 14:12
      Please, ANSWER this question AT http://stackoverflow.com/questions/34224386/how-to-properly-set-up-column-mode-in-cygnus

      Question:
      How to properly set up column mode in cygnus?

      Description:

      I have cygnus working automatically just fine in row mode. But I want to switch to column mode, this means that I now have to manually set up my tables with appropriate column types (right?).
      I figured that the column type of the attributes should correspond to the ones I specified in context broker (i.e Temperature: float; pressure: integer; and so on), am I correct?.
      BUT what about these types:

      recvTime (Im guessing datetime?)
      fiwareservicepath (string?)
      entityId (integer?)
      entityType (string?)
      temperature_md (is float same as Temperature or what?)
      pressure_md (is it integer same as pressure or what?)

      Furthermore I could really do without the following columns:

      _md columns if possible
      fiwareservicepath

      Can I remove those?

      And finally where is the primary key in this scenario? Can I just manually add ID and set it as auto-increment without encountering any conflicts with Cygnus?

      I should here stress that my DB of choice here is only MySql.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2d 17h 59m 1 Backlog Manager 14/Dec/15 9:03 AM
        In Progress In Progress Closed Closed
        3h 1 Backlog Manager 14/Dec/15 12:03 PM

          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: