Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-6574

Pass (parts of) environment into execution part of UNIX_TIMESTAMP and FROM_UNIX_TIME functions

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • 26.10 - 1

    Description

      Execution of UNIX_TIMESTAMP and FROM_UNIX_TIME functions on the PrimProc does not have access to execution's environment variables needed for correct execution of these functions.

      We should use fDynamicFunctor in FunctionColumn for these two functions and add state to them, so that we can pass execution environment settings to them. We need to recognize these functions in the getSelectPlan() execution (ha_mcs_execplan.cpp) and set their state there.

      A good examples of that is encode or {{rand}}functions.

      Attachments

        Issue Links

          Activity

            People

              sergey.zefirov Sergey Zefirov
              sergey.zefirov Sergey Zefirov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 3d
                  3d
                  Remaining:
                  Time Spent - 2d 1h Remaining Estimate - 7h
                  7h
                  Logged:
                  Time Spent - 2d 1h Remaining Estimate - 7h
                  2d 1h

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.