accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Slacum (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-871) ColumnVisibilities should do more to create normalized representations of expressions
Date Thu, 22 Nov 2012 08:34:58 GMT
William Slacum created ACCUMULO-871:
---------------------------------------

             Summary: ColumnVisibilities should do more to create normalized representations
of expressions
                 Key: ACCUMULO-871
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-871
             Project: Accumulo
          Issue Type: Improvement
    Affects Versions: 1.5.0
         Environment: OSX
            Reporter: William Slacum
            Assignee: William Slacum
            Priority: Minor


ColumnVisibilities offer a `flatten()` functionality, which attempts to normalize a given
expression. So, if I had an expression, `b&a&c`, and I `flatten`'d it, I'd get back
`a&b&c`. 

Through some testing, I found that this is applied and not applied depending on how the expression
is written. For instance, if I had something like `(b&a)&c`, I would get back something
like `c&a&b`.

It's not much more code to provide a correct normalized form of expressions as well do some
more work to detect and eliminate expressions that boil down to `expr&expr` or `expr|expr`.

I've attached a sample program that shows some output of what the current capability is and
what I think it should output.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message