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

Malformed SQL generated in MetricDataLoader when values contain single quote character

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • None
    • DB Data Processors
    • 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

        1. MetricDataLoader.diff
          0.5 kB
          Kirk True

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment