Error during creating table with LSI by field with uppercase name

Bug #1405622 reported by Oleksandr Minakov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MagnetoDB
Fix Released
High
Oleksandr Minakov

Bug Description

Error executing query CREATE CUSTOM INDEX ON "u_64b1c69e9c3f44e095d68606b65912ad"."u_eff52ec28b1711e4b3f1080027d57fb5"(u_LastPostedBy) USING 'com.mirantis.
magnetodb.cassandra.db.index.MagnetoDBLocalSecondaryIndex' WITH OPTIONS = {'query_properties_field':'false'}:code=2200 [Invalid query] message="No column definition found for column u_lastpostedby"

Traceback (most recent call last):
  File "/opt/stack/magnetodb/magnetodb/common/cassandra/cluster_handler.py", line 153, in execute_query
    return self.__session.execute(query)
  File "/usr/local/lib/python2.7/dist-packages/cassandra/cluster.py", line 1295, in execute
    result = future.result(timeout)
  File "/usr/local/lib/python2.7/dist-packages/cassandra/cluster.py", line 2799, in result
    raise self._final_exception
InvalidRequest: code=2200 [Invalid query] message="No column definition found for column u_lastpostedby"

Changed in magnetodb:
assignee: nobody → Oleksandr Minakov (oleksandr-minakov)
Changed in magnetodb:
milestone: none → kilo-2
importance: Undecided → High
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnetodb (master)

Fix proposed to branch: master
Review: https://review.openstack.org/144134

Changed in magnetodb:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnetodb (master)

Reviewed: https://review.openstack.org/144134
Committed: https://git.openstack.org/cgit/stackforge/magnetodb/commit/?id=c07e0256014e4717056c993ae9622f650056e7ba
Submitter: Jenkins
Branch: master

commit c07e0256014e4717056c993ae9622f650056e7ba
Author: Oleksandr Minakov <email address hidden>
Date: Fri Dec 26 14:14:13 2014 +0200

    Fix query for creating custom LSI

    Change-Id: Ic5d490c4af4c0bcdebc78693ac94d1688a03740b
    Closes-bug: #1405622

Changed in magnetodb:
status: In Progress → Fix Committed
Changed in magnetodb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.