Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str BinOpSub Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Break Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Num body Return Num orelse If CompareLt NameLoad Num body Return Num orelse If CompareLt NameLoad Num body Return Num orelse If CompareLt NameLoad Num body Return Num Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListLoad Assign NameStore Num While CompareLt NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AugAssignAdd NameStore Num handlers ExceptHandler type NameLoad body Break Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Break Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str Raise NameLoad Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad Num body Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return ListComp TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad attr Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Raise Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If Call AttributeLoad NameLoad attr Num body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMult NameLoad Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareEq NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return CompareIn NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareGt Call NameLoad NameLoad Num body Return Call AttributeLoad NameLoad attr Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Return IfExp NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListComp Call SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num NameLoad comprehension TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore BinOpFloorDiv BinOpAdd BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpMult Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad IfExp SubscriptLoad NameLoad Index NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad IfExp SubscriptLoad NameLoad Index NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return IfExp CompareGt Call NameLoad AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad ListComp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign NameStore AttributeLoad Call SubscriptLoad NameLoad Index NameLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad orelse If CompareEq NameLoad Str body If NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr While CompareGt NameLoad Num body TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad ExceptHandler type NameLoad body Raise Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AugAssignSub NameStore Num Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore NameLoad body If CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore NameLoad body If CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Return AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num AttributeLoad NameLoad attr NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Str Index Num If CompareEq NameLoad Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad Num Expr Call NameLoad NameLoad NameLoad Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore AttributeLoad NameLoad attr body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad BinOpAdd Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore BinOpDiv AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Num If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str If CompareGt NameLoad Num body Assign NameStore Str If NameLoad body AugAssignAdd NameStore BinOpMult Str NameLoad orelse AugAssignAdd NameStore BinOpMult Str NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore NameLoad body If CompareLt NameLoad NameLoad body If CompareEq NameLoad SubscriptLoad NameLoad Index Num body Return BinOpMod Str TupleLoad NameLoad NameLoad orelse Return BinOpMod Str TupleLoad NameLoad NameLoad AugAssignDiv NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad ListLoad Str Str Str Str Str Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad ListLoad Str Str Str Str Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad ListLoad Str Str Str Str Num decorator_list Assign NameStore ListLoad BinOpAdd NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass AugAssignAdd NameStore Num If CompareGt AttributeLoad NameLoad attr Num body Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad BinOpAdd NameLoad Num NameLoad AugAssignAdd NameStore NameLoad Return NameLoad decorator_list
N/A __future__ absolute_import N/A six N/A time N/A getpass N/A datetime N/A socket N/A operator N/A re six.moves range bitarray bitarray impala.compat Decimal impala.util get_logger_and_init_null impala.interface Connection Cursor _bind_parameters impala.error NotSupportedError OperationalError ProgrammingError HiveServer2Error impala._thrift_api get_socket get_transport TTransportException TBinaryProtocol TOpenSessionReq TFetchResultsReq TCloseSessionReq TExecuteStatementReq TGetInfoReq TGetInfoType TTypeId TFetchOrientation TGetResultSetMetadataReq TStatusCode TGetColumnsReq TGetSchemasReq TGetTablesReq TGetFunctionsReq TGetOperationStatusReq TOperationState TCancelOperationReq TCloseOperationReq TGetLogReq TProtocolVersion TGetRuntimeProfileReq TGetExecSummaryReq ImpalaHiveServer2Service TExecStats ThriftClient N/A log N/A get_logger_and_init_null __name__ N/A V6_VERSION N/A TProtocolVersion HIVE_CLI_SERVICE_PROTOCOL_V6 HiveServer2Connection N/A Connection N/A __init__ N/A N/A self service default_db N/A None N/A N/A N/A N/A log debug HiveServer2Connection(service=%s, default_db=%s) service default_db N/A N/A self service service N/A N/A self default_db default_db N/A close N/A N/A self N/A N/A N/A Close the session and the Thrift transport. N/A N/A N/A log debug Closing HS2 connection N/A N/A N/A N/A self service close N/A reconnect N/A N/A self N/A N/A N/A N/A N/A N/A self service reconnect N/A commit N/A N/A self N/A N/A N/A Impala doesn't support transactions; does nothing. N/A N/A rollback N/A N/A self N/A N/A N/A Impala doesn't support transactions; raises NotSupportedError N/A NotSupportedError N/A cursor N/A N/A self user configuration convert_types dictify N/A None None True False N/A N/A Get a cursor from the HiveServer2 (HS2) connection.

        Parameters
        ----------
        user : str, optional
        configuration : dict of str keys and values, optional
            Configuration overlay for the HS2 session.
        convert_types : bool, optional
            When `False`, timestamps and decimal values will not be converted
            to Python `datetime` and `Decimal` values. (These conversions are
            expensive.)

        Returns
        -------
        HiveServer2Cursor
            A `Cursor` object (DB API 2.0-compliant).
         N/A N/A N/A log debug Getting a cursor (Impala session) N/A N/A user None N/A N/A user N/A N/A getpass getuser N/A N/A N/A log debug .cursor(): getting new session_handle N/A session N/A N/A N/A self service open_session user configuration N/A N/A N/A log debug HiveServer2Cursor(service=%s, session_handle=%s, default_config=%s, hs2_protocol_version=%s) N/A self service N/A session handle N/A session config N/A session hs2_protocol_version N/A cursor_class N/A dictify HiveServer2DictCursor HiveServer2Cursor N/A cursor N/A cursor_class session convert_types convert_types N/A N/A N/A self default_db None N/A N/A N/A N/A log info Using database %s as default N/A self default_db N/A N/A N/A cursor execute N/A USE %s N/A self default_db N/A cursor N/A N/A HiveServer2Cursor N/A Cursor N/A N/A The DB API 2.0 Cursor object.

    See the PEP 249 specification for more details.
     __init__ N/A N/A self session convert_types N/A True N/A N/A N/A self session session N/A N/A self convert_types convert_types N/A N/A self _last_operation None N/A N/A self _last_operation_string None N/A N/A self _last_operation_active False N/A N/A self _buffersize None N/A N/A self _buffer N/A Batch N/A N/A self _description None N/A N/A self _rowcount -1 N/A description N/A N/A self N/A N/A N/A N/A N/A N/A self _description None N/A self has_result_set N/A N/A N/A N/A log debug description=None has_result_set=True => getting schema N/A schema N/A N/A N/A self _last_operation get_result_schema N/A N/A self _description schema N/A N/A self _description N/A property rowcount N/A N/A self N/A N/A N/A N/A self _rowcount N/A property query_string N/A N/A self N/A N/A N/A N/A self _last_operation_string N/A property get_arraysize N/A N/A self N/A N/A N/A N/A N/A self _buffersize N/A self _buffersize 1 N/A set_arraysize N/A N/A self arraysize N/A N/A N/A N/A N/A log debug set_arraysize: arraysize=%s arraysize N/A N/A self _buffersize arraysize N/A N/A arraysize N/A property get_arraysize set_arraysize buffersize N/A N/A self N/A N/A N/A N/A N/A self _buffersize N/A self _buffersize 1024 N/A property has_result_set N/A N/A self N/A N/A N/A N/A N/A N/A self _last_operation None N/A N/A self _last_operation has_result_set N/A property close N/A N/A self N/A N/A N/A N/A N/A self close_operation N/A N/A N/A log debug Closing HiveServer2Cursor N/A N/A N/A N/A self session close N/A cancel_operation N/A N/A self N/A N/A N/A N/A self _last_operation_active N/A N/A N/A N/A log info Canceling active operation N/A N/A N/A N/A self _last_operation cancel N/A N/A N/A self _reset_state N/A close_operation N/A N/A self N/A N/A N/A N/A self _last_operation_active N/A N/A N/A N/A log info Closing active operation N/A N/A N/A self _reset_state N/A _reset_state N/A N/A self N/A N/A N/A N/A N/A log debug _reset_state: Resetting cursor state N/A N/A self _buffer N/A Batch N/A N/A self _description None N/A N/A self _last_operation_active N/A N/A N/A self _last_operation_active False N/A N/A N/A N/A self _last_operation close N/A N/A self _last_operation_string None N/A N/A self _last_operation None N/A execute N/A N/A self operation parameters configuration N/A None None N/A N/A Synchronously execute a SQL query.

        Blocks until results are available.

        Parameters
        ----------
        operation : str
            The SQL query to execute.
        parameters : str, optional
            Parameters to be bound to variables in the SQL query, if any.
            Impyla supports all DB API `paramstyle`s, including `qmark`,
            `numeric`, `named`, `format`, `pyformat`.
        configuration : dict of str keys and values, optional
            Configuration overlay for this query.

        Returns
        -------
        NoneType
            Results are available through a call to `fetch*`.
         N/A N/A N/A self execute_async operation parameters parameters configuration configuration N/A N/A N/A log debug Waiting for query to finish N/A N/A N/A self _wait_to_finish N/A N/A N/A log debug Query finished N/A execute_async N/A N/A self operation parameters configuration N/A None None N/A N/A Asynchronously execute a SQL query.

        Immediately returns after query is sent to the HS2 server.  Poll with
        `is_executing`. A call to `fetch*` will block.

        Parameters
        ----------
        operation : str
            The SQL query to execute.
        parameters : str, optional
            Parameters to be bound to variables in the SQL query, if any.
            Impyla supports all DB API `paramstyle`s, including `qmark`,
            `numeric`, `named`, `format`, `pyformat`.
        configuration : dict of str keys and values, optional
            Configuration overlay for this query.

        Returns
        -------
        NoneType
            Results are available through a call to `fetch*`.
         N/A N/A N/A log debug Executing query %s operation op N/A N/A N/A N/A N/A parameters N/A N/A N/A self _last_operation_string N/A _bind_parameters operation parameters N/A N/A N/A self _last_operation_string operation N/A op N/A N/A N/A self session execute N/A self _last_operation_string configuration async True N/A N/A self _last_operation op N/A N/A N/A N/A self _execute_async op N/A _debug_log_state N/A N/A self N/A N/A N/A N/A self _last_operation_active N/A N/A handle N/A N/A self _last_operation handle N/A N/A handle None N/A N/A N/A log debug _execute_async: self._buffer=%s self._description=%s self._last_operation_active=%s self._last_operation=%s N/A self _buffer N/A self _description N/A self _last_operation_active handle N/A _execute_async N/A N/A self operation_fn N/A N/A N/A N/A N/A self _debug_log_state N/A N/A N/A self _reset_state N/A N/A N/A self _debug_log_state N/A N/A operation_fn N/A N/A self _last_operation_active True N/A N/A N/A self _debug_log_state N/A _wait_to_finish N/A N/A self N/A N/A N/A loop_start N/A N/A time time N/A True N/A N/A operation_state N/A N/A N/A self _last_operation get_status N/A N/A N/A log debug _wait_to_finish: waited %s seconds so far N/A N/A N/A time time loop_start N/A N/A N/A self _op_state_is_error operation_state N/A N/A N/A OperationalError Operation is in ERROR_STATE N/A N/A N/A N/A self _op_state_is_executing operation_state N/A N/A N/A N/A N/A time sleep N/A N/A self _get_sleep_interval loop_start N/A status N/A N/A self N/A N/A N/A N/A N/A N/A self _last_operation get_status N/A execution_failed N/A N/A self N/A N/A N/A N/A N/A self _last_operation None N/A N/A N/A ProgrammingError Operation state is not available N/A operation_state N/A N/A N/A self _last_operation get_status N/A N/A N/A self _op_state_is_error operation_state N/A _op_state_is_error N/A N/A self operation_state N/A N/A N/A N/A operation_state ERROR_STATE N/A is_executing N/A N/A self N/A N/A N/A N/A N/A self _last_operation None N/A N/A N/A ProgrammingError Operation state is not available N/A operation_state N/A N/A N/A self _last_operation get_status N/A N/A N/A self _op_state_is_executing operation_state N/A _op_state_is_executing N/A N/A self operation_state N/A N/A N/A N/A operation_state N/A PENDING_STATE INITIALIZED_STATE RUNNING_STATE N/A _get_sleep_interval N/A N/A self start_time N/A N/A N/A Returns a step function of time to sleep in seconds before polling
        again. Maximum sleep is 1s, minimum is 0.1s N/A elapsed N/A N/A N/A time time start_time N/A N/A elapsed 0.05 N/A N/A 0.01 N/A N/A N/A elapsed 1.0 N/A N/A 0.05 N/A N/A N/A elapsed 10.0 N/A N/A 0.1 N/A N/A N/A elapsed 60.0 N/A N/A 0.5 N/A 1.0 N/A executemany N/A N/A self operation seq_of_parameters N/A N/A N/A N/A N/A log debug Attempting to execute %s queries N/A len seq_of_parameters N/A parameters seq_of_parameters N/A N/A N/A N/A self execute operation parameters N/A N/A self has_result_set N/A N/A N/A ProgrammingError Operations that have result sets are not allowed with executemany. N/A fetchone N/A N/A self N/A N/A N/A N/A N/A self _wait_to_finish N/A N/A N/A self has_result_set N/A N/A N/A ProgrammingError Tried to fetch but no results. N/A N/A N/A log debug Fetching a single row N/A N/A N/A N/A next self N/A N/A N/A StopIteration N/A N/A None N/A fetchmany N/A N/A self size N/A None N/A N/A N/A N/A self _wait_to_finish N/A N/A N/A self has_result_set N/A N/A N/A ProgrammingError Tried to fetch but no results. N/A N/A size None N/A N/A size N/A self arraysize N/A N/A N/A log debug Fetching up to %s result rows size N/A local_buffer N/A N/A i 0 N/A N/A i size N/A N/A N/A N/A N/A N/A local_buffer append N/A next self N/A i 1 N/A N/A N/A StopIteration N/A N/A N/A local_buffer N/A fetchall N/A N/A self N/A N/A N/A N/A N/A self _wait_to_finish N/A N/A N/A log debug Fetching all result rows N/A N/A N/A N/A list self N/A N/A N/A StopIteration N/A N/A N/A N/A fetchcolumnar N/A N/A self N/A N/A N/A Executes a fetchall operation returning a list of CBatches N/A N/A N/A self _wait_to_finish N/A N/A N/A N/A self _last_operation is_columnar N/A N/A N/A NotSupportedError Server does not support columnar fetching N/A batches N/A N/A True N/A N/A batch N/A N/A N/A self _last_operation fetch N/A self description N/A self buffersize convert_types N/A self convert_types N/A N/A N/A len batch 0 N/A N/A N/A N/A N/A batches append batch N/A batches N/A setinputsizes N/A N/A self sizes N/A N/A N/A N/A setoutputsize N/A N/A self size column N/A None N/A N/A N/A __iter__ N/A N/A self N/A N/A N/A self N/A next N/A N/A self N/A N/A N/A N/A N/A self __next__ N/A __next__ N/A N/A self N/A N/A N/A N/A N/A self has_result_set N/A N/A N/A ProgrammingError Trying to fetch results on an operation with no results. N/A N/A N/A len N/A self _buffer 0 N/A N/A N/A N/A log debug __next__: popping row out of buffer N/A N/A N/A N/A self _buffer pop N/A N/A N/A self _last_operation_active N/A N/A N/A N/A log debug __next__: buffer empty and op is active => fetching more data N/A N/A self _buffer N/A N/A N/A self _last_operation fetch N/A self description N/A self buffersize N/A N/A N/A len N/A self _buffer 0 N/A N/A N/A N/A log debug __next__: no more data to fetch N/A StopIteration N/A N/A N/A log debug __next__: popping row out of buffer N/A N/A N/A N/A self _buffer pop N/A N/A N/A N/A log debug __next__: buffer empty N/A StopIteration N/A ping N/A N/A self N/A N/A N/A Checks connection to server by requesting some info. N/A N/A N/A log info Pinging the impalad N/A N/A N/A N/A self session ping N/A get_log N/A N/A self N/A N/A N/A N/A N/A N/A self _last_operation get_log N/A get_profile N/A N/A self N/A N/A N/A N/A N/A N/A self _last_operation get_profile N/A get_summary N/A N/A self N/A N/A N/A N/A N/A N/A self _last_operation get_summary N/A build_summary_table N/A N/A self summary output idx is_fragment_root indent_level N/A 0 False 0 N/A N/A N/A build_summary_table summary idx is_fragment_root indent_level output N/A get_databases N/A N/A self N/A N/A op N/A N/A N/A N/A N/A N/A self _last_operation_string RPC_GET_DATABASES N/A N/A self _last_operation N/A N/A N/A self session get_databases N/A N/A N/A N/A self _execute_async op N/A N/A N/A self _wait_to_finish N/A database_exists N/A N/A self db_name N/A N/A N/A N/A N/A N/A self session database_exists db_name N/A get_tables N/A N/A self database_name N/A None N/A N/A N/A database_name None N/A N/A database_name .* op N/A N/A N/A N/A N/A N/A self _last_operation_string RPC_GET_TABLES N/A N/A self _last_operation N/A N/A N/A self session get_tables database_name N/A N/A N/A N/A self _execute_async op N/A N/A N/A self _wait_to_finish N/A table_exists N/A N/A self table_name database_name N/A None N/A N/A N/A database_name None N/A N/A database_name .* N/A N/A N/A N/A self session table_exists table_name database database_name N/A get_table_schema N/A N/A self table_name database_name N/A None N/A N/A N/A database_name None N/A N/A database_name .* op N/A N/A N/A N/A N/A N/A self _last_operation_string RPC_DESCRIBE_TABLE N/A N/A self _last_operation N/A N/A N/A self session get_table_schema table_name database_name N/A N/A N/A N/A self _execute_async op N/A N/A N/A self _wait_to_finish N/A results N/A N/A self fetchall N/A N/A N/A len results 0 N/A N/A N/A OperationalError N/A no schema results for table %s.%s N/A database_name table_name N/A tables N/A set N/A col results N/A N/A N/A N/A tables add N/A N/A col N/A 1 N/A col N/A 2 N/A N/A N/A len tables 1 N/A N/A N/A ProgrammingError N/A db: %s, table: %s is not unique N/A database_name table_name N/A N/A N/A N/A r N/A 3 N/A r N/A 5 N/A r results N/A get_functions N/A N/A self database_name N/A None N/A N/A N/A database_name None N/A N/A database_name .* op N/A N/A N/A N/A N/A N/A self _last_operation_string RPC_GET_FUNCTIONS N/A N/A self _last_operation N/A N/A N/A self session get_functions database_name N/A N/A N/A N/A self _execute_async op N/A N/A N/A self _wait_to_finish N/A N/A HiveServer2DictCursor N/A HiveServer2Cursor N/A N/A The cursor that returns each element as a dictionary execute N/A N/A self operation parameters configuration N/A None None N/A N/A N/A N/A N/A super N/A self __class__ self execute operation parameters configuration N/A N/A self fields N/A N/A d N/A 0 N/A d N/A self description N/A __next__ N/A N/A self N/A N/A N/A record N/A N/A N/A super N/A self __class__ self __next__ N/A N/A dict N/A zip N/A self fields record N/A N/A N/A _TTypeId_to_TColumnValue_getters N/A BOOLEAN TINYINT SMALLINT INT BIGINT TIMESTAMP FLOAT DOUBLE STRING DECIMAL BINARY VARCHAR CHAR MAP ARRAY STRUCT UNIONTYPE DATE N/A N/A operator attrgetter boolVal N/A N/A operator attrgetter byteVal N/A N/A operator attrgetter i16Val N/A N/A operator attrgetter i32Val N/A N/A operator attrgetter i64Val N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter doubleVal N/A N/A operator attrgetter doubleVal N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter binaryVal N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter stringVal N/A N/A operator attrgetter stringVal N/A _pre_columnar_protocols N/A N/A TProtocolVersion HIVE_CLI_SERVICE_PROTOCOL_V1 N/A TProtocolVersion HIVE_CLI_SERVICE_PROTOCOL_V2 N/A TProtocolVersion HIVE_CLI_SERVICE_PROTOCOL_V3 N/A TProtocolVersion HIVE_CLI_SERVICE_PROTOCOL_V4 N/A TProtocolVersion HIVE_CLI_SERVICE_PROTOCOL_V5 err_if_rpc_not_ok N/A N/A resp N/A N/A N/A N/A N/A N/A N/A resp status statusCode N/A TStatusCode SUCCESS_STATUS N/A N/A N/A resp status statusCode N/A TStatusCode SUCCESS_WITH_INFO_STATUS N/A N/A N/A resp status statusCode N/A TStatusCode STILL_EXECUTING_STATUS N/A N/A N/A HiveServer2Error N/A N/A resp status errorMessage N/A N/A _TIMESTAMP_PATTERN N/A N/A re compile (\d+-\d+-\d+ \d+:\d+:\d+(\.\d{,6})?) _parse_timestamp N/A N/A value N/A N/A N/A input_value value N/A value N/A N/A match N/A N/A _TIMESTAMP_PATTERN match value N/A match N/A N/A N/A N/A match group 2 N/A N/A format %Y-%m-%d %H:%M:%S.%f N/A value N/A N/A match group N/A N/A format %Y-%m-%d %H:%M:%S N/A value N/A N/A N/A datetime datetime strptime value format N/A N/A N/A Exception N/A N/A Cannot convert "{}" into a datetime format value N/A N/A value None N/A N/A N/A log debug %s => %s input_value value N/A value N/A threaded N/A N/A func N/A N/A N/A NotImplementedError N/A connect N/A N/A host port timeout use_ssl ca_cert user password kerberos_service_name auth_mechanism N/A None False None None None impala None N/A N/A N/A N/A log debug Connecting to HiveServer2 %s:%s with %s authentication mechanism host port auth_mechanism N/A sock N/A get_socket host port use_ssl ca_cert N/A N/A timeout None N/A N/A timeout N/A timeout 1000.0 N/A N/A six PY2 N/A N/A N/A N/A sock setTimeout timeout N/A N/A N/A six PY3 N/A N/A N/A N/A N/A N/A sock set_timeout timeout N/A N/A N/A AttributeError N/A N/A N/A sock socket_timeout timeout N/A N/A sock connect_timeout timeout N/A transport N/A get_transport sock host kerberos_service_name auth_mechanism user password N/A N/A N/A transport open N/A protocol N/A TBinaryProtocol transport N/A N/A six PY2 N/A N/A service N/A ThriftClient protocol N/A N/A N/A six PY3 N/A N/A service N/A ThriftClient ImpalaHiveServer2Service protocol N/A N/A N/A log debug sock=%s transport=%s protocol=%s service=%s sock transport protocol service N/A N/A HS2Service service N/A _is_columnar_protocol N/A N/A hs2_protocol_version N/A N/A N/A N/A hs2_protocol_version N/A TProtocolVersion HIVE_CLI_SERVICE_PROTOCOL_V6 N/A _is_precolumnar_protocol N/A N/A hs2_protocol_version N/A N/A N/A N/A hs2_protocol_version _pre_columnar_protocols N/A Batch N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A __len__ N/A N/A self N/A N/A N/A 0 N/A pop N/A N/A self N/A N/A N/A N/A NotImplementedError Cannot pop a Batch object N/A __iter__ N/A N/A self N/A N/A N/A self N/A next N/A N/A self N/A N/A N/A N/A N/A self __next__ N/A __next__ N/A N/A self N/A N/A N/A N/A N/A len self 0 N/A N/A N/A N/A self pop N/A StopIteration N/A __str__ N/A N/A self N/A N/A N/A Batch() N/A N/A Column N/A object N/A __init__ N/A N/A self data_type values nulls N/A N/A N/A N/A self data_type data_type N/A N/A self values values N/A N/A self nulls nulls N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self values N/A __str__ N/A N/A self N/A N/A N/A N/A N/A Column(type={0}, values={1}, nulls={2}) format N/A self data_type N/A self values N/A self nulls N/A pop N/A N/A self N/A N/A N/A isnull N/A N/A N/A self nulls pop 0 N/A value N/A N/A N/A self values pop 0 N/A N/A isnull None value N/A N/A CBatch N/A Batch N/A __init__ N/A N/A self trowset schema convert_types N/A True N/A N/A N/A self schema schema N/A tcols N/A N/A N/A _TTypeId_to_TColumnValue_getters N/A N/A N/A schema N/A i N/A 1 col N/A N/A i col N/A enumerate N/A trowset columns N/A num_cols N/A len tcols N/A num_rows N/A len N/A N/A tcols N/A 0 values N/A N/A N/A log debug CBatch: input TRowSet num_cols=%s num_rows=%s tcols=%s num_cols num_rows tcols N/A N/A self columns N/A N/A j N/A range num_cols N/A N/A type_ N/A N/A schema N/A j N/A 1 N/A nulls N/A N/A tcols N/A j nulls N/A values N/A N/A tcols N/A j values N/A N/A N/A six PY3 N/A isinstance nulls str N/A N/A nulls N/A N/A nulls encode utf-8 N/A is_null N/A bitarray endian little N/A N/A N/A is_null frombytes nulls N/A N/A N/A len values N/A len nulls N/A N/A to_append N/A N/A N/A N/A len values N/A len nulls 7 8 N/A N/A N/A is_null frombytes N/A to_append N/A convert_types N/A N/A values N/A N/A self _convert_values type_ is_null values N/A N/A N/A N/A self columns append N/A Column type_ values is_null N/A _convert_values N/A N/A self type_ is_null values N/A N/A N/A N/A type_ TIMESTAMP N/A N/A i N/A range N/A len values N/A N/A N/A values N/A i N/A N/A is_null N/A i None N/A _parse_timestamp N/A values N/A i N/A N/A type_ DECIMAL N/A N/A i N/A range N/A len values N/A N/A N/A values N/A i N/A N/A is_null N/A i None N/A Decimal N/A values N/A i N/A values N/A __len__ N/A N/A self N/A N/A N/A N/A N/A N/A len N/A self columns 0 N/A len N/A N/A self columns N/A 0 0 N/A pop N/A N/A self N/A N/A N/A N/A tuple N/A N/A N/A c pop N/A c N/A self columns N/A __str__ N/A N/A self N/A N/A N/A col_string N/A N/A , join N/A N/A str col N/A col N/A self columns N/A N/A N/A CBatch({0}) format col_string N/A N/A RBatch N/A Batch N/A __init__ N/A N/A self trowset schema N/A N/A N/A N/A N/A log debug RBatch: input TRowSet: %s trowset N/A N/A self schema schema N/A N/A self rows N/A N/A trow N/A trowset rows N/A N/A row N/A N/A N/A i col_val N/A enumerate N/A trow colVals N/A N/A type_ N/A N/A schema N/A i N/A 1 N/A value N/A N/A N/A _TTypeId_to_TColumnValue_getters N/A type_ col_val value N/A N/A type_ TIMESTAMP N/A N/A value N/A _parse_timestamp value N/A N/A N/A type_ DECIMAL N/A N/A value N/A N/A value N/A Decimal value N/A N/A N/A row append value N/A N/A N/A N/A self rows append N/A tuple row N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self rows N/A pop N/A N/A self N/A N/A N/A N/A N/A N/A self rows pop 0 N/A N/A ThriftRPC N/A object N/A __init__ N/A N/A self client retries N/A 3 N/A N/A N/A self client client N/A N/A self retries retries N/A _rpc N/A N/A self func_name request N/A N/A N/A N/A N/A self _log_request func_name request N/A response N/A N/A self _execute func_name request N/A N/A N/A self _log_response func_name response N/A N/A err_if_rpc_not_ok response N/A response N/A _execute N/A N/A self func_name request N/A N/A N/A transport N/A N/A N/A self client _iprot trans N/A tries_left N/A self retries N/A N/A tries_left 0 N/A N/A N/A N/A N/A N/A log debug Attempting to open transport (tries_left=%s) tries_left N/A N/A open_transport transport N/A N/A N/A log debug Transport opened N/A func N/A getattr N/A self client func_name N/A N/A func request N/A N/A N/A N/A socket error N/A N/A N/A N/A log exception Failed to open transport (tries_left=%s) tries_left N/A N/A TTransportException N/A N/A N/A N/A log exception Failed to open transport (tries_left=%s) tries_left N/A N/A Exception N/A N/A N/A N/A N/A log debug Closing transport (tries_left=%s) tries_left N/A N/A N/A transport close N/A tries_left 1 N/A N/A HiveServer2Error N/A N/A Failed after retrying {0} times format N/A self retries N/A _operation N/A N/A self kind request N/A N/A N/A resp N/A N/A self _rpc kind request N/A N/A N/A self _get_operation N/A resp operationHandle N/A _log_request N/A N/A self kind request N/A N/A N/A N/A N/A log debug %s: req=%s kind request N/A _log_response N/A N/A self kind response N/A N/A N/A N/A N/A log debug %s: resp=%s kind response N/A N/A open_transport N/A N/A transport N/A N/A N/A N/A N/A six PY2 N/A N/A N/A transport isOpen N/A N/A N/A N/A transport open N/A N/A N/A N/A six PY3 N/A N/A N/A transport is_open N/A N/A N/A N/A transport open N/A HS2Service N/A ThriftRPC N/A __init__ N/A N/A self thrift_client retries N/A 3 N/A N/A N/A N/A ThriftRPC __init__ self thrift_client retries retries N/A close N/A N/A self N/A N/A N/A N/A N/A log debug close_service: client=%s N/A self client N/A N/A N/A N/A N/A N/A self client _iprot trans close N/A reconnect N/A N/A self N/A N/A N/A N/A N/A log debug reconnect: client=%s N/A self client N/A N/A N/A N/A N/A N/A self client _iprot trans close N/A N/A N/A N/A N/A N/A self client _iprot trans open N/A open_session N/A N/A self user configuration N/A None N/A N/A protocol N/A TProtocolVersion HIVE_CLI_SERVICE_PROTOCOL_V6 N/A req N/A TOpenSessionReq client_protocol protocol username user configuration configuration N/A resp N/A N/A self _rpc OpenSession req N/A N/A HS2Session self N/A resp sessionHandle N/A resp configuration N/A resp serverProtocolVersion N/A N/A HS2Session N/A ThriftRPC N/A __init__ N/A N/A self service handle config hs2_protocol_version retries N/A 3 N/A N/A N/A self service service N/A N/A self handle handle N/A N/A self config config N/A N/A self hs2_protocol_version hs2_protocol_version N/A N/A hs2_protocol_version N/A TProtocolVersion _VALUES_TO_NAMES N/A N/A N/A HiveServer2Error N/A N/A Got HiveServer2 version {0}; expected V1 - V6 format hs2_protocol_version N/A N/A N/A ThriftRPC __init__ self N/A N/A self service client retries retries N/A close N/A N/A self N/A N/A N/A req N/A TCloseSessionReq sessionHandle N/A self handle N/A N/A N/A self _rpc CloseSession req N/A execute N/A N/A self statement configuration async N/A None False N/A N/A req N/A TExecuteStatementReq sessionHandle N/A self handle statement statement confOverlay configuration runAsync async N/A N/A N/A self _operation ExecuteStatement req N/A get_databases N/A N/A self schema N/A .* N/A N/A req N/A TGetSchemasReq sessionHandle N/A self handle schemaName schema N/A N/A N/A self _operation GetSchemas req N/A get_tables N/A N/A self database table_like N/A .* .* N/A N/A req N/A TGetTablesReq sessionHandle N/A self handle schemaName database tableName table_like N/A N/A N/A self _operation GetTables req N/A get_table_schema N/A N/A self table database N/A .* N/A N/A req N/A TGetColumnsReq sessionHandle N/A self handle schemaName database tableName table columnName .* N/A N/A N/A self _operation GetColumns req N/A get_functions N/A N/A self database N/A .* N/A N/A req N/A TGetFunctionsReq sessionHandle N/A self handle schemaName database functionName .* N/A N/A N/A self _operation GetFunctions req N/A database_exists N/A N/A self db_name N/A N/A N/A op N/A N/A self get_databases schema db_name N/A results N/A N/A op fetch N/A exists False N/A result results N/A N/A N/A N/A N/A N/A result N/A 0 lower N/A N/A db_name lower N/A N/A exists True N/A N/A N/A op close N/A exists N/A table_exists N/A N/A self table database N/A .* N/A N/A op N/A N/A self get_tables database database table_like table N/A results N/A N/A op fetch N/A exists False N/A result results N/A N/A N/A N/A N/A N/A result N/A 2 lower N/A N/A table lower N/A N/A exists True N/A N/A N/A op close N/A exists N/A ping N/A N/A self N/A N/A N/A req N/A TGetInfoReq sessionHandle N/A self handle infoType N/A TGetInfoType CLI_SERVER_NAME N/A N/A N/A log debug ping: req=%s req N/A N/A N/A resp N/A N/A N/A self client GetInfo req N/A N/A N/A TTransportException N/A N/A N/A N/A log exception ping: failed N/A False N/A N/A N/A log debug ping: resp=%s resp N/A N/A N/A N/A err_if_rpc_not_ok resp N/A N/A N/A HiveServer2Error N/A N/A N/A N/A log exception ping: failed N/A False N/A True N/A _get_operation N/A N/A self handle N/A N/A N/A N/A Operation self handle N/A N/A Operation N/A ThriftRPC N/A __init__ N/A N/A self session handle retries N/A 3 N/A N/A N/A self session session N/A N/A self handle handle N/A N/A self _schema None N/A N/A N/A ThriftRPC __init__ self N/A N/A self session client retries retries N/A has_result_set N/A N/A self N/A N/A N/A N/A N/A self handle hasResultSet N/A property get_status N/A N/A self N/A N/A N/A req N/A TGetOperationStatusReq operationHandle N/A self handle N/A resp N/A N/A self _rpc GetOperationStatus req N/A N/A N/A TOperationState _VALUES_TO_NAMES N/A N/A resp operationState N/A get_log N/A N/A self N/A N/A N/A req N/A TGetLogReq operationHandle N/A self handle N/A N/A N/A N/A self _rpc GetLog req log N/A cancel N/A N/A self N/A N/A N/A req N/A TCancelOperationReq operationHandle N/A self handle N/A N/A N/A self _rpc CancelOperation req N/A close N/A N/A self N/A N/A N/A req N/A TCloseOperationReq operationHandle N/A self handle N/A N/A N/A self _rpc CloseOperation req N/A get_profile N/A N/A self N/A N/A N/A req N/A TGetRuntimeProfileReq operationHandle N/A self handle sessionHandle N/A N/A self session handle N/A resp N/A N/A self _rpc GetRuntimeProfile req N/A N/A resp profile N/A get_summary N/A N/A self N/A N/A N/A req N/A TGetExecSummaryReq operationHandle N/A self handle sessionHandle N/A N/A self session handle N/A resp N/A N/A self _rpc GetExecSummary req N/A N/A resp summary N/A fetch N/A N/A self schema max_rows orientation convert_types N/A None 1024 N/A TFetchOrientation FETCH_NEXT True N/A N/A N/A N/A self has_result_set N/A N/A N/A N/A log debug fetch_results: operation_handle.hasResultSet=False N/A None N/A N/A schema None N/A N/A schema N/A N/A self get_result_schema N/A req N/A TFetchResultsReq operationHandle N/A self handle orientation orientation maxRows max_rows N/A resp N/A N/A self _rpc FetchResults req N/A N/A N/A self _wrap_results N/A resp results schema convert_types convert_types N/A _wrap_results N/A N/A self results schema convert_types N/A True N/A N/A N/A self is_columnar N/A N/A N/A N/A log debug fetch_results: constructing CBatch N/A N/A CBatch results schema convert_types convert_types N/A N/A N/A N/A log debug fetch_results: constructing RBatch N/A N/A RBatch results schema N/A is_columnar N/A N/A self N/A N/A N/A protocol N/A N/A self session hs2_protocol_version N/A N/A _is_columnar_protocol protocol N/A property get_result_schema N/A N/A self N/A N/A N/A N/A N/A N/A self handle hasResultSet N/A N/A N/A N/A log debug get_result_schema: handle.hasResultSet=False N/A None N/A req N/A TGetResultSetMetadataReq operationHandle N/A self handle N/A resp N/A N/A self _rpc GetResultSetMetadata req N/A schema N/A N/A column N/A N/A resp schema columns N/A N/A name N/A column columnName N/A entry N/A N/A N/A N/A column typeDesc types N/A 0 primitiveEntry N/A type_ N/A N/A N/A N/A N/A TTypeId _VALUES_TO_NAMES N/A N/A entry type split _ N/A 0 N/A N/A type_ DECIMAL N/A N/A qualifiers N/A N/A entry typeQualifiers qualifiers N/A precision N/A N/A qualifiers N/A precision i32Value N/A scale N/A N/A qualifiers N/A scale i32Value N/A N/A N/A schema append N/A name type_ None None precision scale None N/A N/A N/A N/A schema append N/A name type_ None None None None None N/A N/A N/A log debug get_result_schema: schema=%s schema N/A schema N/A N/A build_summary_table N/A N/A summary idx is_fragment_root indent_level output N/A N/A N/A Direct translation of Coordinator::PrintExecSummary() to recursively
    build a list of rows of summary statistics, one per exec node

    summary: the TExecSummary object that contains all the summary data

    idx: the index of the node to print

    is_fragment_root: true if the node to print is the root of a fragment (and
    therefore feeds into an exchange)

    indent_level: the number of spaces to print before writing the node's
    label, to give the appearance of a tree. The 0th child of a node has the
    same indent_level as its parent. All other children have an indent_level
    of one greater than their parent.

    output: the list of rows into which to append the rows produced for this
    node and its children.

    Returns the index of the next exec node in summary.exec_nodes that should
    be processed, used internally to this method only.
     N/A attrs N/A latency_ns cpu_time_ns cardinality memory_used N/A N/A agg_stats max_stats N/A N/A TExecStats N/A TExecStats N/A attr attrs N/A N/A N/A setattr agg_stats attr 0 N/A N/A setattr max_stats attr 0 N/A node N/A N/A summary nodes N/A idx N/A stats N/A node exec_stats N/A N/A attr attrs N/A N/A val N/A getattr stats attr N/A N/A val None N/A N/A N/A setattr agg_stats attr N/A N/A getattr agg_stats attr val N/A N/A setattr max_stats attr N/A max N/A getattr max_stats attr val N/A N/A N/A len N/A node exec_stats 0 N/A N/A avg_time N/A N/A agg_stats latency_ns N/A len N/A node exec_stats N/A N/A avg_time 0 N/A N/A N/A node is_broadcast is_fragment_root N/A N/A cardinality N/A max_stats cardinality N/A N/A cardinality N/A agg_stats cardinality N/A est_stats N/A node estimated_stats N/A label_prefix N/A N/A indent_level 0 N/A N/A label_prefix | N/A is_fragment_root N/A N/A label_prefix N/A indent_level N/A N/A label_prefix N/A -- indent_level prettyprint N/A N/A val units divisor N/A N/A N/A unit units N/A N/A N/A val divisor N/A N/A N/A unit N/A units N/A 0 N/A N/A N/A %d%s N/A val unit N/A N/A N/A %3.2f%s N/A val unit N/A val divisor N/A prettyprint_bytes N/A N/A byte_val N/A N/A N/A N/A prettyprint byte_val N/A  B  KB  MB  GB  TB 1024.0 N/A prettyprint_units N/A N/A unit_val N/A N/A N/A N/A prettyprint unit_val N/A K M B 1000.0 N/A prettyprint_time N/A N/A time_val N/A N/A N/A N/A prettyprint time_val N/A ns us ms s 1000.0 N/A N/A row N/A N/A label_prefix N/A node label N/A len N/A node exec_stats N/A prettyprint_time avg_time N/A prettyprint_time N/A max_stats latency_ns N/A prettyprint_units cardinality N/A prettyprint_units N/A est_stats cardinality N/A prettyprint_bytes N/A max_stats memory_used N/A prettyprint_bytes N/A est_stats memory_used N/A node label_detail N/A N/A N/A output append row N/A N/A N/A sender_idx N/A N/A summary exch_to_sender_map N/A idx N/A N/A build_summary_table summary sender_idx True indent_level output N/A N/A N/A N/A KeyError TypeError N/A N/A N/A idx 1 N/A N/A N/A node num_children 0 N/A N/A first_child_output N/A N/A idx N/A build_summary_table summary idx False indent_level first_child_output N/A child_idx N/A range 1 N/A node num_children N/A N/A idx N/A build_summary_table summary idx False N/A indent_level 1 output N/A output first_child_output N/A idx N/A