drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vlad (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-5948) The wrong number of batches is displayed
Date Thu, 09 Nov 2017 16:53:01 GMT
Vlad created DRILL-5948:
---------------------------

             Summary: The wrong number of batches is displayed
                 Key: DRILL-5948
                 URL: https://issues.apache.org/jira/browse/DRILL-5948
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.11.0
            Reporter: Vlad


I suppose, when you execute a query with a small amount of data drill must create 1 batch,
but here you can see that drill created 2 batches. I think it's a wrong behaviour for the
drill. Full JSON file will be in the attachment.
{code:html}
"fragmentProfile": [
        {
            "majorFragmentId": 0,
            "minorFragmentProfile": [
                {
                    "state": 3,
                    "minorFragmentId": 0,
                    "operatorProfile": [
                        {
                            "inputProfile": [
                                {
                                    "records": 1,
                                    "batches": 2,
                                    "schemas": 1
                                }
                            ],
                            "operatorId": 2,
                            "operatorType": 29,
                            "setupNanos": 0,
                            "processNanos": 1767363740,
                            "peakLocalMemoryAllocated": 639120,
                            "waitNanos": 25787
                        },
{code}

Step to reproduce:
# Create JSON file with 1 row
# Execute star query whith this file, for example 
{code:sql}
select * from dfs.`/path/to/your/file/example.json`
{code}
# Go to the Profile page on the UI, and open info about your query
# Open JSON profile



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message