A computer-implemented method for detecting patterns across multiple input data streams, comprising:. receiving, by a computer system configured with computer-executable instructions, a plurality of input data streams comprising at least a first input data stream and a second input data stream, wherein the first and second input data streams comprise attributes, and wherein the first and second data streams have at least one common attribute and at least one different attribute; receiving a continuous query identifying the first and second input data streams and specifying a pattern to be matched across the input data streams, and processing the query to perform the steps of: identifying a first attribute of the first input data stream as not being present in the second data stream; generating, by the computer system, a first dynamic data type for the first attribute of the first input data stream, the first dynamic data type configured to store a first data value corresponding to the first attribute of the first input data stream; identifying a second attribute of the second input data stream as not being present in the first data stream; generating, by the computer system, a second dynamic data type for the second attribute of the second input data stream, the second dynamic data type configured to store a second data value corresponding to the second attribute of the second input data stream; identifying a common attribute of the first and second input data streams; generating a homogenous schema including at least the common attribute and the first and second dynamic data types; combining, by the computer system, the first input data stream and the second input data stream to generate a combined data stream based at least in part on the homogenous schema; and processing, by the computer system, the continuous query over the combined data stream to detect a pattern between the first and second input data streams. identifying a first attribute of the first input data stream as not being present in the second data stream; generating, by the computer system, a first dynamic data type for the first attribute of the first input data stream, the first dynamic data type configured to store a first data value corresponding to the first attribute of the first input data stream; identifying a second attribute of the second input data stream as not being present in the first data stream; generating, by the computer system, a second dynamic data type for the second attribute of the second input data stream, the second dynamic data type configured to store a second data value corresponding to the second attribute of the second input data stream; identifying a common attribute of the first and second input data streams; generating a homogenous schema including at least the common attribute and the first and second dynamic data types; combining, by the computer system, the first input data stream and the second input data stream to generate a combined data stream based at least in part on the homogenous schema; and processing, by the computer system, the continuous query over the combined data stream to detect a pattern between the first and second input data streams.