We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Drill provides a mock record reader to generate test data in the package: org.apache.drill.exec.store.mock.
org.apache.drill.exec.store.mock
Mock data is available for physical plans. Here is a typical example:
{ @id:1, pop:"mock-scan", url: "http://apache.org", entries:[ {records: 1000000, types: [ {name: "blue", type: "INT", mode: "REQUIRED"}, {name: "green", type: "INT", mode: "REQUIRED"} ]} ] },
The JSON fields are:
@id
pop
"mock-scan"
url
entries
The scanner supports parallelization based on the number of entries.
The fields for the schema are:
records
types
Field schema fields include:
name
type
MinorType
mode
DataMode
OPTIONAL
REQUIRED
REPEATED
width
VARCHAR