You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vlad (JIRA)" <ji...@apache.org> on 2017/11/09 16:53:01 UTC

[jira] [Created] (DRILL-5948) The wrong number of batches is displayed

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)