发明名称 |
PERFORMING BATCHES OF SELECTIVE ASSIGNMENTS IN A VECTOR FRIENDLY MANNER |
摘要 |
Embodiments of the invention relate to processing queries. A query operation to be performed on a table of data is translated into a series of bit level logical operations using expansion and/or saturation operations. A mask is created from the series of bit level logical operations. This mask is then simultaneously applied to multiple rows from the table of data. |
申请公布号 |
US2014214912(A1) |
申请公布日期 |
2014.07.31 |
申请号 |
US201313756438 |
申请日期 |
2013.01.31 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
Barber Ronald J.;Raman Vijayshankar |
分类号 |
G06F17/10 |
主分类号 |
G06F17/10 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method comprising:
receiving a table of input data, and receiving an operation to be performed on the table of input data, at least one of columns of the input data being a Boolean column of input data representation of a condition, and at least one of column of the input data being a non-Boolean column of input data representation of condition values; performing a function on a subset of a plurality of columns in the table of input data, including:
saturating the Boolean column of input data into a mask in order to perform a logic operation, including transforming the Boolean input column into the mask by replicating each bit in the Boolean column to be a binary width of an input value;translating the function into a series of bit level logic operations on both the non-Boolean column input data and saturated values of Boolean input; andperforming the translated function across the table of input data; and producing a non-Boolean results column as a result of the operation. |
地址 |
Armonk NY US |