16. A computer-implemented system for processing database queries, the system comprising: a first processing unit comprising one or more central processing units (CPUs); a second processing unit comprising one or more single instruction multiple thread (SIMT) based processing units; and a computer readable non-transitory storage medium storing instructions for: receiving a database query for execution; generating an intermediate executable representation comprising operators for processing the database query; selecting a target processing unit for executing an operator of the operators; determining whether to add padding bytes to input data processed by the database query based on the selected target processing unit; responsive to selecting the second processing unit including the one or more SIMT based processing units as the target processing unit for executing the operator: adding the padding bytes to the input data of a data type, wherein adding of the padding bytes causing a data elements of the data type to have identical size; generating native code from the intermediate executable representation; compiling the native code to executable code; and executing the executable code using the second processing unit; and sending a result of the execution of the database query.
16. A computer-implemented system for processing database queries, the system comprising: a first processing unit comprising one or more central processing units (CPUs); a second processing unit comprising one or more single instruction multiple thread (SIMT) based processing units; and a computer readable non-transitory storage medium storing instructions for: receiving a database query for execution; generating an intermediate executable representation comprising operators for processing the database query; selecting a target processing unit for executing an operator of the operators; determining whether to add padding bytes to input data processed by the database query based on the selected target processing unit; responsive to selecting the second processing unit including the one or more SIMT based processing units as the target processing unit for executing the operator: adding the padding bytes to the input data of a data type, wherein adding of the padding bytes causing a data elements of the data type to have identical size; generating native code from the intermediate executable representation; compiling the native code to executable code; and executing the executable code using the second processing unit; and sending a result of the execution of the database query. 20. The computer-implemented system of claim 16 , wherein selecting the target processing unit for executing the operator comprises, selecting the second processing unit including the one or more SIMT based processing units if the database query is determined to sort records of the result of the execution of the database query.