Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-850

Bing: Prod Table structure not in sync for shard3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Disable Display Network
    • Fix Version/s: Bing v9
    • Component/s: None
    • Labels:
      None
    • Environment:

      Production

    • Sprint:
      Sprint 1, Sprint 2 - Bing QA
    • Epic Link:

      Description

      copy of Alok's Email

      Hi Ramesh/Guru,

      I have noticed that the structure of below 2 Bing tables in lasham DB are not in sync with what we have in fairford and Detroit Db.
      QA Team: Please raise a bug on the same.

      Use content_editor_bing;
      bce_campaignProximityTargetMap
      bce_campaignProximityTargetMapPendingUpdate

      Instead of having lat and long column as varchar type, lasham has it as decimal type. Also verified bitbucket, but the script is also not updated with varchar type instead has decimal column type.

      Details:

      Lasham:
      mysql> desc bce_campaignProximityTargetMap;
      ----------------------------------------------------------------+

      Field Type Null Key Default Extra

      ----------------------------------------------------------------+

      campaignID int(11) NO PRI NULL  
      targetID int(11) NO PRI NULL  
      latitudeInDegrees decimal(20,15) NO   0.000000000000000  
      longitudeInDegrees decimal(20,16) NO   0.0000000000000000  
      radius int(3) NO   NULL  
      radiusUnits enum('miles') YES   NULL  

      ----------------------------------------------------------------+
      6 rows in set (0.01 sec)

      mysql> desc bce_campaignProximityTargetMapPendingUpdate;
      -------------------------------------------------------------------------------+

      Field Type Null Key Default Extra

      -------------------------------------------------------------------------------+

      campaignID int(11) NO PRI NULL  
      targetID int(11) NO PRI NULL  
      latitudeInDegrees decimal(20,15) NO   0.000000000000000  
      longitudeInDegrees decimal(20,16) NO   0.0000000000000000  
      radius int(3) NO   NULL  
      radiusUnits enum('miles') YES   NULL  
      updateType enum('add','delete','update') NO   NULL  

      -------------------------------------------------------------------------------+
      7 rows in set (0.00 sec)

      Detroit:
      mysql> desc bce_campaignProximityTargetMap;
      ----------------------------------------------------+

      Field Type Null Key Default Extra

      ----------------------------------------------------+

      campaignID int(11) NO PRI NULL  
      targetID int(11) NO PRI NULL  
      latitudeInDegrees varchar(50) NO   NULL  
      longitudeInDegrees varchar(50) NO   NULL  
      radius int(3) NO   NULL  
      radiusUnits enum('miles') YES   NULL  

      ----------------------------------------------------+
      6 rows in set (0.00 sec)

      mysql> desc bce_campaignProximityTargetMapPendingUpdate;
      --------------------------------------------------------------------+

      Field Type Null Key Default Extra

      --------------------------------------------------------------------+

      campaignID int(11) NO PRI NULL  
      targetID int(11) NO PRI NULL  
      latitudeInDegrees varchar(50) NO   NULL  
      longitudeInDegrees varchar(50) NO   NULL  
      radius int(3) NO   NULL  
      radiusUnits enum('miles') YES   NULL  
      updateType enum('add','delete','update') NO   NULL  

      --------------------------------------------------------------------+
      7 rows in set (0.00 sec)

      Fairford:
      mysql> desc bce_campaignProximityTargetMap;
      ----------------------------------------------------+

      Field Type Null Key Default Extra

      ----------------------------------------------------+

      campaignID int(11) NO PRI NULL  
      targetID int(11) NO PRI NULL  
      latitudeInDegrees varchar(50) NO   NULL  
      longitudeInDegrees varchar(50) NO   NULL  
      radius int(3) NO   NULL  
      radiusUnits enum('miles') YES   NULL  

      ----------------------------------------------------+
      6 rows in set (0.00 sec)

      mysql> desc bce_campaignProximityTargetMapPendingUpdate
      -> ;
      --------------------------------------------------------------------+

      Field Type Null Key Default Extra

      --------------------------------------------------------------------+

      campaignID int(11) NO PRI NULL  
      targetID int(11) NO PRI NULL  
      latitudeInDegrees varchar(50) NO   NULL  
      longitudeInDegrees varchar(50) NO   NULL  
      radius int(3) NO   NULL  
      radiusUnits enum('miles') YES   NULL  
      updateType enum('add','delete','update') NO   NULL  

      --------------------------------------------------------------------+
      7 rows in set (0.00 sec)

        Attachments

          Activity

            People

            • Assignee:
              anil.kumar Anil Kumar Halmadgi
              Reporter:
              sharath.tn Sharath TN (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: