Menu

#1663 Parser: Support MariaDB virtual columns

Needs_decision
open
Normal
2015-04-27
2015-04-27
No

Parser does not recognize virtual columns definitions of the form
<type> [GENERATED ALWAYS] AS ( <expression> )
[VIRTUAL | PERSISTENT] [UNIQUE] [UNIQUE KEY] [COMMENT ]

MariaDB does not provide (at least I couldn't find) a way to get <expression> for a table. Neither information_schema, nor DESCRIBE table provide this information and the only way is to parse the output of SHOW CREATE TABLE

Reference: https://mariadb.com/kb/en/mariadb/virtual-computed-columns/

Discussion

  • Madhura Jayaratne

    • labels: parser --> parser, gsoc
    • assigned_to: Marc Delisle
     
  • Madhura Jayaratne

    Assigning to Marc since a parser rewrite is planned for this year's GSoC mentored by Marc.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.