Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-489

Malformed SQL generated in MetricDataLoader when values contain single quote character

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: None
    • Component/s: DB Data Processors
    • Labels:
      None

      Description

      When our demux creates ChukwaRecord entries whose values contain single quotes, the SQL generated by MetricDataLoader is invalid as the single quote character is not being properly escaped. There's already an escape method present, and adding two lines of code fixed it for us.

      Patch forthcoming...

        Attachments

          Activity

            People

            • Assignee:
              eyang Eric Yang
              Reporter:
              kirktrue Kirk True
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: