// Copyright 2023 PingCAP, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #pragma once #include #include namespace DB { template || IsDecimal> struct PlusImpl; template using PlusImpl_t = PlusImpl; template || IsDecimal> struct MinusImpl; template using MinusImpl_t = MinusImpl; template || IsDecimal> struct MultiplyImpl; template using MultiplyImpl_t = MultiplyImpl; template || IsDecimal> struct DivideFloatingImpl; template using DivideFloatingImpl_t = DivideFloatingImpl; template || IsDecimal> struct TiDBDivideFloatingImpl; template using TiDBDivideFloatingImpl_t = TiDBDivideFloatingImpl; template || IsDecimal> struct DivideIntegralImpl; template using DivideIntegralImpl_t = DivideIntegralImpl; template || IsDecimal> struct DivideIntegralOrZeroImpl; template using DivideIntegralOrZeroImpl_t = DivideIntegralOrZeroImpl; template || IsDecimal> struct ModuloImpl; template using ModuloImpl_t = ModuloImpl; template || IsDecimal> struct BinaryGreatestBaseImpl; template using BinaryGreatestBaseImpl_t = BinaryGreatestBaseImpl; template || IsDecimal> struct BinaryLeastBaseImpl; template using BinaryLeastBaseImpl_t = BinaryLeastBaseImpl; template