Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1994

Variable names generated by Record I/O should not clash with user fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      The code (Java and C++) spit out by the Record I/O compiler contains variables. We need to make sure these variable names don't clash with names used by users in the DDL, otherwise the generated code will not compile. Variable names such as 'a', 'peer', etc, are used. We need better names. For example, if I have a DDL of the form

      class s1 {
        int a;
        boolean peer;
        int a_;
      }
      

      Both the Java and C++ code will not compile.

      Attachments

        Activity

          People

            vivekr Vivek Ratan
            vivekr Vivek Ratan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: