Uploaded image for project: 'Apache Blur'
  1. Apache Blur
  2. BLUR-112

Allow for types to be set on blur tables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0, 0.3.0
    • 0.2.0
    • None
    • None

    Description

      Create the ability for Blur to handle the default Lucene field types. This should not be tied to the table descriptor because types should be allowed to be added at runtime. Also 2 new fields should be added to the TableDescriptor:

      1. A strict types attribute. If set to true, if a new column is added to the table and there is no type mapping for it. Throw an exception. Set to false by default.

      2. Default type is strict is set to false. The default type should be text.

      Also, dynamic columns could be allowed if their name included the type. Such as:

      The column name could be "col1" with a type of "int", in the Column struct in thrift the name would be "col1/int" and if the type did not exist before the call it would be added.

      Thoughts?

      Attachments

        Activity

          People

            Unassigned Unassigned
            amccurry Aaron McCurry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: