Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: 10.2
    • Component/s: None
    • Labels:

      Description

      The existing TABLE_MAP_EVENT row-based event lacks enough detail to determine column names and signedness of integer fields.

      Davi Arnaut has created a new kind of event called "Table_metadata", which includes that information: https://github.com/twitter/mysql/commit/19b251446

      I propose that this functionality or similar functionality be added to MariaDB.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            Either that patch (that I didn't look at yet) or a different implementation. But it needs to be future-proof, we should be able to add any metadata we want to this event at any time without breaking binlog compatibility.

            Table_map_log_event already stores field metadata internally, but I don't see how we can use that without making binlog incompatible. This is an example of not future-proof implementation.

            Show
            serg Sergei Golubchik added a comment - Either that patch (that I didn't look at yet) or a different implementation. But it needs to be future-proof, we should be able to add any metadata we want to this event at any time without breaking binlog compatibility. Table_map_log_event already stores field metadata internally, but I don't see how we can use that without making binlog incompatible. This is an example of not future-proof implementation.

              People

              • Assignee:
                Unassigned
                Reporter:
                kolbe Kolbe Kegel
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 1 week
                  1w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified